mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 23:58:17 -05:00
input_common: Implement SDL motion
This commit is contained in:
@ -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 {};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user