aboutsummaryrefslogtreecommitdiff
path: root/src/common/settings_input.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-09-20 20:18:26 -0500
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-24 20:30:23 -0600
commit84bda35f1450bc792d437b46a06aed39f908cafe (patch)
tree0f1c6e4ad0b158aff656bf73cdc0c42ed207d1de /src/common/settings_input.h
parent5d631fd6ef7f458d4555b0dc2659668570746a34 (diff)
settings: Cleanup settings
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 6096005822..2c0eb31d39 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,