コード例 #1
0
 internal AnalogState GetAnalogActionData(InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle)
 {
                 #if PLATFORM_WIN
     var retVal = default(AnalogState);
     _GetAnalogActionData(Self, ref retVal, inputHandle, analogActionHandle);
     return(retVal);
                 #else
     return(_GetAnalogActionData(Self, inputHandle, analogActionHandle));
                 #endif
 }
コード例 #2
0
        internal AnalogState GetAnalogActionData(InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle)
        {
            if (Config.Os == OsType.Windows)
            {
                var retVal = default(AnalogState);
                _GetAnalogActionData_Windows(Self, ref retVal, inputHandle, analogActionHandle);
                return(retVal);
            }

            return(_GetAnalogActionData(Self, inputHandle, analogActionHandle));
        }
コード例 #3
0
 private static extern AnalogState _GetAnalogActionData(IntPtr self, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle);
コード例 #4
0
 internal int GetAnalogActionOrigins(InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, ref InputActionOrigin originsOut)
 {
     return(_GetAnalogActionOrigins(Self, inputHandle, actionSetHandle, analogActionHandle, ref originsOut));
 }
コード例 #5
0
        internal string GetStringForAnalogActionName(InputAnalogActionHandle_t eActionHandle)
        {
            var returnValue = _GetStringForAnalogActionName(Self, eActionHandle);

            return(returnValue);
        }
コード例 #6
0
 /// <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_INPUT_MAX_ORIGINS sized array of EInputActionOrigin handles. The EInputActionOrigin 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 GetAnalogActionOrigins(InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin[] originsOut)
 {
     InteropHelp.TestIfAvailableClient();
     if (originsOut != null && originsOut.Length != Constants.STEAM_INPUT_MAX_ORIGINS)
     {
         throw new System.ArgumentException("originsOut must be the same size as Constants.STEAM_INPUT_MAX_ORIGINS!");
     }
     return(NativeMethods.ISteamInput_GetAnalogActionOrigins(CSteamAPIContext.GetSteamInput(), inputHandle, actionSetHandle, analogActionHandle, originsOut));
 }
コード例 #7
0
 internal void StopAnalogActionMomentum(InputHandle_t inputHandle, InputAnalogActionHandle_t eAction)
 {
     _StopAnalogActionMomentum(Self, inputHandle, eAction);
 }
コード例 #8
0
        internal int GetAnalogActionOrigins(InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, ref InputActionOrigin originsOut)
        {
            var returnValue = _GetAnalogActionOrigins(Self, inputHandle, actionSetHandle, analogActionHandle, ref originsOut);

            return(returnValue);
        }
コード例 #9
0
 public bool Equals(InputAnalogActionHandle_t other) => default;                                      // 0x0000000180004FB0-0x0000000180004FC0
 public int CompareTo(InputAnalogActionHandle_t other) => default;                                    // 0x0000000180004F10-0x0000000180004F20
コード例 #10
0
 public static explicit operator ulong(InputAnalogActionHandle_t that) => default;                    // 0x00000001802A78B0-0x00000001802A78C0
 public bool Equals(InputAnalogActionHandle_t other) => default;                                      // 0x0000000180004FB0-0x0000000180004FC0
コード例 #11
0
 /// <summary>
 /// <para> Returns a localized string (from Steam's language setting) for the user-facing action name corresponding to the specified handle</para>
 /// </summary>
 public static string GetStringForAnalogActionName(InputAnalogActionHandle_t eActionHandle)
 {
     InteropHelp.TestIfAvailableClient();
     return(InteropHelp.PtrToStringUTF8(NativeMethods.ISteamInput_GetStringForAnalogActionName(CSteamAPIContext.GetSteamInput(), eActionHandle)));
 }
コード例 #12
0
 /// Stop analog momentum for the action if it is a mouse action in trackball mode
 public static void StopAnalogActionMomentum(InputHandle_t inputHandle, InputAnalogActionHandle_t eAction)
 {
 }
コード例 #13
0
 /// 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.
 /// originsOut should point to a STEAM_INPUT_MAX_ORIGINS sized array of EInputActionOrigin handles. The EInputActionOrigin enum will get extended as support for new controller controllers gets added to
 /// the Steam client and will exceed the values from this header, please check bounds if you are using a look up table.
 public static int GetAnalogActionOrigins(InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin[] originsOut)
 {
     return(0);
 }
コード例 #14
0
        /// Returns the current state of these supplied analog game action
        public static InputAnalogActionData_t GetAnalogActionData(InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle)
        {
            InputAnalogActionData_t ret = new InputAnalogActionData_t();

            return(ret);
        }
コード例 #15
0
        internal AnalogState GetAnalogActionData(InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle)
        {
            var returnValue = _GetAnalogActionData(Self, inputHandle, analogActionHandle);

            return(returnValue);
        }
コード例 #16
0
 /// <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_INPUT_MAX_ORIGINS sized array of EInputActionOrigin handles. The EInputActionOrigin 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 GetAnalogActionOrigins(InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin[] originsOut)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamInput_GetAnalogActionOrigins(CSteamAPIContext.GetSteamInput(), inputHandle, actionSetHandle, analogActionHandle, originsOut));
 }
コード例 #17
0
 private static extern int _GetAnalogActionOrigins(IntPtr self, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, ref InputActionOrigin originsOut);
コード例 #18
0
 public static InputAnalogActionHandle_t GetAnalogActionHandle(string pszActionName) => default;                                                                                                           // 0x00000001807A1520-0x00000001807A1660
 public static InputAnalogActionData_t GetAnalogActionData(InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) => default;                                                            // 0x00000001807A1490-0x00000001807A1520
コード例 #19
0
 private static extern void _StopAnalogActionMomentum(IntPtr self, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction);
コード例 #20
0
 public static InputAnalogActionData_t GetAnalogActionData(InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) => default;                                                            // 0x00000001807A1490-0x00000001807A1520
 public static int GetAnalogActionOrigins(InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin[] originsOut) => default;    // 0x00000001807A1660-0x00000001807A1740
コード例 #21
0
 /// <summary>
 /// <para> Returns the current state of these supplied analog game action</para>
 /// </summary>
 public static InputAnalogActionData_t GetAnalogActionData(InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamInput_GetAnalogActionData(CSteamAPIContext.GetSteamInput(), inputHandle, analogActionHandle));
 }
コード例 #22
0
        public static string GetStringForActionOrigin(EInputActionOrigin eOrigin) => default;                                                                                                                     // 0x00000001807A1DE0-0x00000001807A1E40

        public static void StopAnalogActionMomentum(InputHandle_t inputHandle, InputAnalogActionHandle_t eAction)
        {
        }                                                                                            // 0x00000001807A2080-0x00000001807A20E0
コード例 #23
0
 /// <summary>
 /// <para> Stop analog momentum for the action if it is a mouse action in trackball mode</para>
 /// </summary>
 public static void StopAnalogActionMomentum(InputHandle_t inputHandle, InputAnalogActionHandle_t eAction)
 {
     InteropHelp.TestIfAvailableClient();
     NativeMethods.ISteamInput_StopAnalogActionMomentum(CSteamAPIContext.GetSteamInput(), inputHandle, eAction);
 }
コード例 #24
0
 private static extern Utf8StringPointer _GetStringForAnalogActionName(IntPtr self, InputAnalogActionHandle_t eActionHandle);