RetroArch/frontend
Patrick Stankard 5452999b2a
Fix mouse grab behavior on Android (#16203)
* Add grab_mouse interface for Android
Makes mouse grabbing and 'Game Focus' work on Android with a real mouse
Properly handle relative mouse motion events on Android (SDK 28 and newer)

* Enable workflow_dispatch on CI Android

* Update android_mouse_calculate_deltas callsites

* Add RETRO_DEVICE_MOUSE to android_input_get_capabilities

* Use Handler to trigger UI events (toggle mouse, immersive mode) with 300ms delay

* Enable input_auto_mouse_grab by default for Android

* Handle RARCH_DEVICE_MOUSE_SCREEN in Android input driver

* Add android.hardware.type.pc to manifest

* Don't attempt to set pointer speed via scaling in android_mouse_calculate_deltas

* Keep x/y values within viewport resolution for screen mouse

* Use video_driver_get_size to get width/height

---------

Co-authored-by: Bernhard Schelling <14200249+schellingb@users.noreply.github.com>
2024-03-19 05:33:02 -07:00
..
drivers Fix mouse grab behavior on Android (#16203) 2024-03-19 05:33:02 -07:00
frontend_driver.c Cleanups/style nits 2023-02-23 13:15:14 +01:00
frontend_driver.h Fix narrator modes (#16179) 2024-02-08 21:14:23 -08:00
frontend_salamander.c Logging config file writes in all places where it was not done so far. (#16311) 2024-03-03 08:09:46 -08:00
frontend.h Clean up trailing whitespace 2017-12-12 00:24:18 -08:00