diff options
| author | 2020-09-17 12:39:01 -0700 | |
|---|---|---|
| committer | 2020-09-17 12:39:01 -0700 | |
| commit | 3f6d83b27cf3eb2e782185deeb852630037caa17 (patch) | |
| tree | febd2fb00d95ed955be4ed97acc9f4c21b2a5efa /src/input_common/settings.cpp | |
| parent | Merge pull request #4668 from lioncash/port (diff) | |
| parent | configure_input: Hook up the motion button and checkbox (diff) | |
| download | yuzu-3f6d83b27cf3eb2e782185deeb852630037caa17.tar.gz yuzu-3f6d83b27cf3eb2e782185deeb852630037caa17.tar.xz yuzu-3f6d83b27cf3eb2e782185deeb852630037caa17.zip | |
Merge pull request #4594 from german77/MotionHID
hid/configuration: Implement motion controls to HID
Diffstat (limited to 'src/input_common/settings.cpp')
| -rw-r--r-- | src/input_common/settings.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/input_common/settings.cpp b/src/input_common/settings.cpp index 80c719cf4..b66c05856 100644 --- a/src/input_common/settings.cpp +++ b/src/input_common/settings.cpp | |||
| @@ -14,6 +14,13 @@ const std::array<const char*, NumButtons> mapping = {{ | |||
| 14 | }}; | 14 | }}; |
| 15 | } | 15 | } |
| 16 | 16 | ||
| 17 | namespace NativeMotion { | ||
| 18 | const std::array<const char*, NumMotions> mapping = {{ | ||
| 19 | "motionleft", | ||
| 20 | "motionright", | ||
| 21 | }}; | ||
| 22 | } | ||
| 23 | |||
| 17 | namespace NativeAnalog { | 24 | namespace NativeAnalog { |
| 18 | const std::array<const char*, NumAnalogs> mapping = {{ | 25 | const std::array<const char*, NumAnalogs> mapping = {{ |
| 19 | "lstick", | 26 | "lstick", |