summaryrefslogtreecommitdiffstats
path: root/src/common/settings_input.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/settings_input.h')
-rw-r--r--src/common/settings_input.h13
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 {
constexpr int STICK_HID_BEGIN = LStick;
constexpr int STICK_HID_END = NumAnalogs;
-constexpr int NUM_STICKS_HID = NumAnalogs;
extern const std::array<const char*, NumAnalogs> mapping;
} // namespace NativeAnalog
+namespace NativeTrigger {
+enum Values : int {
+ LTrigger,
+ RTrigger,
+
+ NumTriggers,
+};
+
+constexpr int TRIGGER_HID_BEGIN = LTrigger;
+constexpr int TRIGGER_HID_END = NumTriggers;
+} // namespace NativeTrigger
+
namespace NativeVibration {
enum Values : int {
LeftVibrationDevice,