summaryrefslogtreecommitdiff
path: root/src/common/settings_input.h
diff options
context:
space:
mode:
authorGravatar german772021-09-20 20:18:26 -0500
committerGravatar Narr the Reg2021-11-24 20:30:23 -0600
commit6e2c84042d296272a2186feac67678c19fdb122b (patch)
tree0f1c6e4ad0b158aff656bf73cdc0c42ed207d1de /src/common/settings_input.h
parentdebugger/controller: Remove TAS (diff)
downloadyuzu-6e2c84042d296272a2186feac67678c19fdb122b.tar.gz
yuzu-6e2c84042d296272a2186feac67678c19fdb122b.tar.xz
yuzu-6e2c84042d296272a2186feac67678c19fdb122b.zip
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 609600582..2c0eb31d3 100644
--- a/src/common/settings_input.h
+++ b/src/common/settings_input.h
@@ -62,11 +62,22 @@ enum Values : int {
62 62
63constexpr int STICK_HID_BEGIN = LStick; 63constexpr int STICK_HID_BEGIN = LStick;
64constexpr int STICK_HID_END = NumAnalogs; 64constexpr int STICK_HID_END = NumAnalogs;
65constexpr int NUM_STICKS_HID = NumAnalogs;
66 65
67extern const std::array<const char*, NumAnalogs> mapping; 66extern const std::array<const char*, NumAnalogs> mapping;
68} // namespace NativeAnalog 67} // namespace NativeAnalog
69 68
69namespace NativeTrigger {
70enum Values : int {
71 LTrigger,
72 RTrigger,
73
74 NumTriggers,
75};
76
77constexpr int TRIGGER_HID_BEGIN = LTrigger;
78constexpr int TRIGGER_HID_END = NumTriggers;
79} // namespace NativeTrigger
80
70namespace NativeVibration { 81namespace NativeVibration {
71enum Values : int { 82enum Values : int {
72 LeftVibrationDevice, 83 LeftVibrationDevice,