diff options
Diffstat (limited to 'src/common/settings_input.h')
| -rw-r--r-- | src/common/settings_input.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/common/settings_input.h b/src/common/settings_input.h index 609600582..2c0eb31d3 100644 --- a/src/common/settings_input.h +++ b/src/common/settings_input.h | |||
| @@ -62,11 +62,22 @@ enum Values : int { | |||
| 62 | 62 | ||
| 63 | constexpr int STICK_HID_BEGIN = LStick; | 63 | constexpr int STICK_HID_BEGIN = LStick; |
| 64 | constexpr int STICK_HID_END = NumAnalogs; | 64 | constexpr int STICK_HID_END = NumAnalogs; |
| 65 | constexpr int NUM_STICKS_HID = NumAnalogs; | ||
| 66 | 65 | ||
| 67 | extern const std::array<const char*, NumAnalogs> mapping; | 66 | extern const std::array<const char*, NumAnalogs> mapping; |
| 68 | } // namespace NativeAnalog | 67 | } // namespace NativeAnalog |
| 69 | 68 | ||
| 69 | namespace NativeTrigger { | ||
| 70 | enum Values : int { | ||
| 71 | LTrigger, | ||
| 72 | RTrigger, | ||
| 73 | |||
| 74 | NumTriggers, | ||
| 75 | }; | ||
| 76 | |||
| 77 | constexpr int TRIGGER_HID_BEGIN = LTrigger; | ||
| 78 | constexpr int TRIGGER_HID_END = NumTriggers; | ||
| 79 | } // namespace NativeTrigger | ||
| 80 | |||
| 70 | namespace NativeVibration { | 81 | namespace NativeVibration { |
| 71 | enum Values : int { | 82 | enum Values : int { |
| 72 | LeftVibrationDevice, | 83 | LeftVibrationDevice, |