1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-26 06:40:39 +00:00
Patrick Stankard 5452999b2a
Fix mouse grab behavior on Android ()
* 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
..
2020-02-27 01:34:42 +01:00
2024-02-27 23:20:32 -08:00
2018-09-29 19:46:46 +02:00
2024-03-02 10:33:03 -08:00
2015-08-31 21:10:31 +02:00
2022-03-03 14:28:38 +01:00
2018-10-08 16:39:04 -03:00
2015-09-16 10:24:39 +02:00
2020-03-30 05:39:22 +02:00
2018-03-20 08:35:17 +01:00
2024-01-25 15:59:56 +01:00
2024-01-25 15:59:56 +01:00
2019-01-17 19:39:38 -08:00
2024-01-25 15:59:56 +01:00
2022-01-19 18:53:15 +01:00