/// <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(CSteamAPIContext.GetSteamController(), controllerHandle, digitalActionHandle, flScale, flXPosition, flYPosition));
 }
 /// <summary>
 /// <para> Returns the current state of the supplied digital game action</para>
 /// </summary>
 public static ControllerDigitalActionData_t GetDigitalActionData(ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamController_GetDigitalActionData(CSteamAPIContext.GetSteamController(), controllerHandle, digitalActionHandle));
 }
 /// <summary>
 /// <para> Get the origin(s) for a digital 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 GetDigitalActionOrigins(ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin[] originsOut)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamController_GetDigitalActionOrigins(CSteamAPIContext.GetSteamController(), controllerHandle, actionSetHandle, digitalActionHandle, originsOut));
 }
示例#4
0
 public static ControllerDigitalActionHandle_t GetDigitalActionHandle(string pszActionName) => default;                                                                                                                             // 0x000000018094D280-0x000000018094D3C0
 public static InputDigitalActionData_t GetDigitalActionData(ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) => default;                                                                  // 0x000000018094D220-0x000000018094D280
示例#5
0
 public static InputDigitalActionData_t GetDigitalActionData(ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) => default;                                                                  // 0x000000018094D220-0x000000018094D280
 public static int GetDigitalActionOrigins(ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin[] originsOut) => default; // 0x000000018094D3C0-0x000000018094D4A0
 private static extern int _GetDigitalActionOrigins(IntPtr self, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, ref ControllerActionOrigin originsOut);
        internal int GetDigitalActionOrigins(ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, ref ControllerActionOrigin originsOut)
        {
            var returnValue = _GetDigitalActionOrigins(Self, controllerHandle, actionSetHandle, digitalActionHandle, ref originsOut);

            return(returnValue);
        }
 private static extern DigitalState _GetDigitalActionData(IntPtr self, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle);
        internal DigitalState GetDigitalActionData(ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle)
        {
            var returnValue = _GetDigitalActionData(Self, controllerHandle, digitalActionHandle);

            return(returnValue);
        }
 /// <summary>
 /// <para> Get the origin(s) for a digital 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. The EControllerActionOrigin enum will get extended as support for new controller controllers gets added to</para>
 /// <para> the Steam client and will exceed the values from this header, please check bounds if you are using a look up table.</para>
 /// </summary>
 public static int GetDigitalActionOrigins(ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin[] originsOut)
 {
     InteropHelp.TestIfAvailableClient();
     if (originsOut != null && originsOut.Length != Constants.STEAM_CONTROLLER_MAX_ORIGINS)
     {
         throw new System.ArgumentException("originsOut must be the same size as Constants.STEAM_CONTROLLER_MAX_ORIGINS!");
     }
     return(NativeMethods.ISteamController_GetDigitalActionOrigins(CSteamAPIContext.GetSteamController(), controllerHandle, actionSetHandle, digitalActionHandle, originsOut));
 }
示例#11
0
 public bool Equals(ControllerDigitalActionHandle_t other) => default;                                            // 0x0000000180004FB0-0x0000000180004FC0
 public int CompareTo(ControllerDigitalActionHandle_t other) => default;                                          // 0x0000000180004F10-0x0000000180004F20
示例#12
0
 public static explicit operator ulong(ControllerDigitalActionHandle_t that) => default;                          // 0x00000001802A78B0-0x00000001802A78C0
 public bool Equals(ControllerDigitalActionHandle_t other) => default;                                            // 0x0000000180004FB0-0x0000000180004FC0
示例#13
0
 /// Get the origin(s) for a digital 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>
 /// originsOut should point to a STEAM_CONTROLLER_MAX_ORIGINS sized array of EControllerActionOrigin handles. The EControllerActionOrigin enum will get extended as support for new controller controllers gets added to</para>
 /// the Steam client and will exceed the values from this header, please check bounds if you are using a look up table.</para>
 public static int GetDigitalActionOrigins(ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin[] originsOut)
 {
     return(0);
 }
示例#14
0
        /// Returns the current state of the supplied digital game action</para>
        public static ControllerDigitalActionData_t GetDigitalActionData(ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle)
        {
            ControllerDigitalActionData_t ret = new ControllerDigitalActionData_t();

            return(ret);
        }