summaryrefslogtreecommitdiffstats
path: root/src/common/settings_input.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-09-21 03:18:26 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-25 03:30:23 +0100
commit6e2c84042d296272a2186feac67678c19fdb122b (patch)
tree0f1c6e4ad0b158aff656bf73cdc0c42ed207d1de /src/common/settings_input.h
parentdebugger/controller: Remove TAS (diff)
downloadyuzu-6e2c84042d296272a2186feac67678c19fdb122b.tar
yuzu-6e2c84042d296272a2186feac67678c19fdb122b.tar.gz
yuzu-6e2c84042d296272a2186feac67678c19fdb122b.tar.bz2
yuzu-6e2c84042d296272a2186feac67678c19fdb122b.tar.lz
yuzu-6e2c84042d296272a2186feac67678c19fdb122b.tar.xz
yuzu-6e2c84042d296272a2186feac67678c19fdb122b.tar.zst
yuzu-6e2c84042d296272a2186feac67678c19fdb122b.zip
Diffstat (limited to '')
-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,