diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-05-16 05:20:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-16 05:20:18 +0200 |
commit | 6c78c2ae38cbcdf80f2dcab40513110a072c6c18 (patch) | |
tree | 14d75f5a675c243277b8948262dc5e4f934e91c0 /src/input_common/main.cpp | |
parent | Merge pull request #6300 from Morph1984/mbedtls (diff) | |
parent | input_common: Implement SDL motion (diff) | |
download | yuzu-6c78c2ae38cbcdf80f2dcab40513110a072c6c18.tar yuzu-6c78c2ae38cbcdf80f2dcab40513110a072c6c18.tar.gz yuzu-6c78c2ae38cbcdf80f2dcab40513110a072c6c18.tar.bz2 yuzu-6c78c2ae38cbcdf80f2dcab40513110a072c6c18.tar.lz yuzu-6c78c2ae38cbcdf80f2dcab40513110a072c6c18.tar.xz yuzu-6c78c2ae38cbcdf80f2dcab40513110a072c6c18.tar.zst yuzu-6c78c2ae38cbcdf80f2dcab40513110a072c6c18.zip |
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 { // TODO return the correct motion device return {}; } +#ifdef HAVE_SDL2 + if (params.Get("class", "") == "sdl") { + return sdl->GetMotionMappingForDevice(params); + } +#endif return {}; } |