summaryrefslogtreecommitdiff
path: root/src/input_common/main.cpp
diff options
context:
space:
mode:
authorGravatar Morph2021-05-15 23:20:18 -0400
committerGravatar GitHub2021-05-15 23:20:18 -0400
commit6c78c2ae38cbcdf80f2dcab40513110a072c6c18 (patch)
tree14d75f5a675c243277b8948262dc5e4f934e91c0 /src/input_common/main.cpp
parentMerge pull request #6300 from Morph1984/mbedtls (diff)
parentinput_common: Implement SDL motion (diff)
downloadyuzu-6c78c2ae38cbcdf80f2dcab40513110a072c6c18.tar.gz
yuzu-6c78c2ae38cbcdf80f2dcab40513110a072c6c18.tar.xz
yuzu-6c78c2ae38cbcdf80f2dcab40513110a072c6c18.zip
Merge pull request #6244 from german77/sdlmotion
input_common: Implement SDL motion
Diffstat (limited to 'src/input_common/main.cpp')
-rw-r--r--src/input_common/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input_common/main.cpp b/src/input_common/main.cpp
index 7c4e7dd3b..7399c3648 100644
--- a/src/input_common/main.cpp
+++ b/src/input_common/main.cpp
@@ -153,6 +153,11 @@ struct InputSubsystem::Impl {
153 // TODO return the correct motion device 153 // TODO return the correct motion device
154 return {}; 154 return {};
155 } 155 }
156#ifdef HAVE_SDL2
157 if (params.Get("class", "") == "sdl") {
158 return sdl->GetMotionMappingForDevice(params);
159 }
160#endif
156 return {}; 161 return {};
157 } 162 }
158 163