public static extern void _TriggerRepeatedHapticPulse(IntPtr self, ControllerHandle_t controllerHandle, SteamControllerPad eTargetPad, ushort usDurationMicroSec, ushort usOffMicroSec, ushort unRepeat, uint nFlags);
/// <summary> /// <para> Set the controller LED color on supported controllers.</para> /// </summary> public static void SetLEDColor(ControllerHandle_t controllerHandle, byte nColorR, byte nColorG, byte nColorB, uint nFlags) { InteropHelp.TestIfAvailableClient(); NativeMethods.ISteamController_SetLEDColor(controllerHandle, nColorR, nColorG, nColorB, nFlags); }
/// <summary> /// <para> Returns raw motion data from the specified controller</para> /// </summary> public static ControllerMotionData_t GetMotionData(ControllerHandle_t controllerHandle) { InteropHelp.TestIfAvailableClient(); return(NativeMethods.ISteamController_GetMotionData(controllerHandle)); }
public static void StopAnalogActionMomentum(ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) { InteropHelp.TestIfAvailableClient(); NativeMethods.ISteamController_StopAnalogActionMomentum(controllerHandle, eAction); }
/// <summary> /// <para> Trigger a pulse with a duty cycle of usDurationMicroSec / usOffMicroSec, unRepeat times.</para> /// <para> nFlags is currently unused and reserved for future use.</para> /// </summary> public static void TriggerRepeatedHapticPulse(ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, ushort usDurationMicroSec, ushort usOffMicroSec, ushort unRepeat, uint nFlags) { InteropHelp.TestIfAvailableClient(); NativeMethods.ISteamController_TriggerRepeatedHapticPulse(controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); }
public void ActivateActionSet(ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) { _ActivateActionSet(Self, controllerHandle, actionSetHandle); }
public ControllerActionSetHandle_t GetCurrentActionSet(ControllerHandle_t controllerHandle) { var returnValue = _GetCurrentActionSet(Self, controllerHandle); return(returnValue); }
public static extern bool _ShowBindingPanel(IntPtr self, ControllerHandle_t controllerHandle);
public bool ShowBindingPanel(ControllerHandle_t controllerHandle) { var returnValue = _ShowBindingPanel(Self, controllerHandle); return(returnValue); }
public static extern void _SetLEDColor(IntPtr self, ControllerHandle_t controllerHandle, byte nColorR, byte nColorG, byte nColorB, uint nFlags);
public void SetLEDColor(ControllerHandle_t controllerHandle, byte nColorR, byte nColorG, byte nColorB, uint nFlags) { _SetLEDColor(Self, controllerHandle, nColorR, nColorG, nColorB, nFlags); }
public void TriggerVibration(ControllerHandle_t controllerHandle, ushort usLeftSpeed, ushort usRightSpeed) { _TriggerVibration(Self, controllerHandle, usLeftSpeed, usRightSpeed); }
public static extern void _TriggerVibration(IntPtr self, ControllerHandle_t controllerHandle, ushort usLeftSpeed, ushort usRightSpeed);
public void TriggerRepeatedHapticPulse(ControllerHandle_t controllerHandle, SteamControllerPad eTargetPad, ushort usDurationMicroSec, ushort usOffMicroSec, ushort unRepeat, uint nFlags) { _TriggerRepeatedHapticPulse(Self, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); }
public bool GetControllerBindingRevision(ControllerHandle_t controllerHandle, ref int pMajor, ref int pMinor) { var returnValue = _GetControllerBindingRevision(Self, controllerHandle, ref pMajor, ref pMinor); return(returnValue); }
public static extern InputType _GetInputTypeForHandle(IntPtr self, ControllerHandle_t controllerHandle);
public static extern void _ActivateActionSet(IntPtr self, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle);
public InputType GetInputTypeForHandle(ControllerHandle_t controllerHandle) { var returnValue = _GetInputTypeForHandle(Self, controllerHandle); return(returnValue); }
public static extern ControllerActionSetHandle_t _GetCurrentActionSet(IntPtr self, ControllerHandle_t controllerHandle);
public static extern int _GetGamepadIndexForController(IntPtr self, ControllerHandle_t ulControllerHandle);
/// <summary> /// <para> Get the origin(s) for an analog action within an action set. Returns the number of origins supplied in originsOut. Use this to display the appropriate on-screen prompt for the action.</para> /// <para> originsOut should point to a STEAM_CONTROLLER_MAX_ORIGINS sized array of EControllerActionOrigin handles</para> /// </summary> public static int GetAnalogActionOrigins(ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin[] originsOut) { InteropHelp.TestIfAvailableClient(); return(NativeMethods.ISteamController_GetAnalogActionOrigins(controllerHandle, actionSetHandle, analogActionHandle, originsOut)); }
public int GetGamepadIndexForController(ControllerHandle_t ulControllerHandle) { var returnValue = _GetGamepadIndexForController(Self, ulControllerHandle); return(returnValue); }
/// <summary> /// <para> Trigger a haptic pulse on a controller</para> /// </summary> public static void TriggerHapticPulse(ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, ushort usDurationMicroSec) { InteropHelp.TestIfAvailableClient(); NativeMethods.ISteamController_TriggerHapticPulse(controllerHandle, eTargetPad, usDurationMicroSec); }
public static extern ControllerActionOrigin _GetActionOriginFromXboxOrigin(IntPtr self, ControllerHandle_t controllerHandle, XboxOrigin eOrigin);
/// <summary> /// <para> Tigger a vibration event on supported controllers.</para> /// </summary> public static void TriggerVibration(ControllerHandle_t controllerHandle, ushort usLeftSpeed, ushort usRightSpeed) { InteropHelp.TestIfAvailableClient(); NativeMethods.ISteamController_TriggerVibration(controllerHandle, usLeftSpeed, usRightSpeed); }
public ControllerActionOrigin GetActionOriginFromXboxOrigin(ControllerHandle_t controllerHandle, XboxOrigin eOrigin) { var returnValue = _GetActionOriginFromXboxOrigin(Self, controllerHandle, eOrigin); return(returnValue); }
/// <summary> /// <para> Returns the associated gamepad index for the specified controller, if emulating a gamepad</para> /// </summary> public static int GetGamepadIndexForController(ControllerHandle_t ulControllerHandle) { InteropHelp.TestIfAvailableClient(); return(NativeMethods.ISteamController_GetGamepadIndexForController(ulControllerHandle)); }
public static extern bool _GetControllerBindingRevision(IntPtr self, ControllerHandle_t controllerHandle, ref int pMajor, ref int pMinor);
/// <summary> /// <para> Attempt to display origins of given action in the controller HUD, for the currently active action set</para> /// <para> Returns false is overlay is disabled / unavailable, or the user is not in Big Picture mode</para> /// </summary> public static bool ShowDigitalActionOrigins(ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition) { InteropHelp.TestIfAvailableClient(); return(NativeMethods.ISteamController_ShowDigitalActionOrigins(controllerHandle, digitalActionHandle, flScale, flXPosition, flYPosition)); }
public void TriggerHapticPulse(ControllerHandle_t controllerHandle, SteamControllerPad eTargetPad, ushort usDurationMicroSec) { _TriggerHapticPulse(Self, controllerHandle, eTargetPad, usDurationMicroSec); }