public static extern bool GetControllerState(uint unControllerIndex, ref SteamControllerState_t pState);
/// <summary> /// <para> Get the state of the specified controller, returns false if that controller is not connected</para> /// </summary> public static bool GetControllerState(uint unControllerIndex, out SteamControllerState_t pState) { InteropHelp.TestIfAvailableClient(); return(NativeMethods.ISteamController_GetControllerState(unControllerIndex, out pState)); }