diff options
| author | 2021-04-25 18:03:57 -0500 | |
|---|---|---|
| committer | 2021-05-15 08:56:58 -0500 | |
| commit | f20f4587e65160a193f336c98cfcb03af3aef256 (patch) | |
| tree | 14d75f5a675c243277b8948262dc5e4f934e91c0 /src/input_common/main.cpp | |
| parent | Merge pull request #6300 from Morph1984/mbedtls (diff) | |
| download | yuzu-f20f4587e65160a193f336c98cfcb03af3aef256.tar.gz yuzu-f20f4587e65160a193f336c98cfcb03af3aef256.tar.xz yuzu-f20f4587e65160a193f336c98cfcb03af3aef256.zip | |
input_common: Implement SDL motion
Diffstat (limited to '')
| -rw-r--r-- | src/input_common/main.cpp | 5 |
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 | ||