diff options
Diffstat (limited to 'src/input_common/settings.cpp')
-rw-r--r-- | src/input_common/settings.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/input_common/settings.cpp b/src/input_common/settings.cpp index 80c719cf4..557e7a9a0 100644 --- a/src/input_common/settings.cpp +++ b/src/input_common/settings.cpp @@ -21,6 +21,20 @@ const std::array<const char*, NumAnalogs> mapping = {{ }}; } +namespace NativeVibration { +const std::array<const char*, NumVibrations> mapping = {{ + "left_vibration_device", + "right_vibration_device", +}}; +} + +namespace NativeMotion { +const std::array<const char*, NumMotions> mapping = {{ + "motionleft", + "motionright", +}}; +} + namespace NativeMouseButton { const std::array<const char*, NumMouseButtons> mapping = {{ "left", |