RetroArch/frontend/drivers
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
..
platform_ctr.c Reduce strlcat calls where possible 2023-06-19 06:00:10 +02:00
platform_darwin.m tvOS: when cache is deleted, force assets.zip re-extraction (#16264) 2024-02-19 11:12:09 -08:00
platform_dos.c Cleanups, style nits, try to reduce some more strlens, etc. 2023-08-17 18:20:45 +02:00
platform_emscripten.c (Emscripten) Modularize the JavaScript and clean up the web build (#15688) 2023-11-02 13:25:50 -07:00
platform_gx.c Revive/rewrite Keyboard Overlay and OSK Toggle 2023-07-09 04:42:49 +02:00
platform_orbis.c Revive/rewrite Keyboard Overlay and OSK Toggle 2023-07-09 04:42:49 +02:00
platform_ps2.c fixing usage of cwd 2024-01-25 17:19:08 +01:00
platform_ps3.c Revive/rewrite Keyboard Overlay and OSK Toggle 2023-07-09 04:42:49 +02:00
platform_psp.c Get rid of obsolete HAVE_VIDEO_LAYOUT - obsolete spec, was only 2023-02-23 21:03:41 +01:00
platform_qnx.c Revive/rewrite Keyboard Overlay and OSK Toggle 2023-07-09 04:42:49 +02:00
platform_switch.c Replace more strlcat calls 2023-07-16 18:07:49 +02:00
platform_unix.c Fix mouse grab behavior on Android (#16203) 2024-03-19 05:33:02 -07:00
platform_unix.h Fix mouse grab behavior on Android (#16203) 2024-03-19 05:33:02 -07:00
platform_uwp.c (UWP/Menu) Small Tweaks (#15653) 2023-08-28 20:53:35 -07:00
platform_wii.c (Frontend) Style nits/cleanups 2022-12-15 14:34:22 +01:00
platform_wiiu.c (Frontend) Style nits/cleanups 2022-12-15 14:34:22 +01:00
platform_win32.c Fix narrator modes (#16179) 2024-02-08 21:14:23 -08:00
platform_win32.h Some buildfixes 2020-06-30 08:37:41 +02:00
platform_xdk.c Revive/rewrite Keyboard Overlay and OSK Toggle 2023-07-09 04:42:49 +02:00
platform_xdk.h Cut down on some strlens for xdk 2023-09-03 00:04:25 +02:00
platform_xenon.c Add Linux GameMode support (#13339) 2021-12-14 14:07:42 +01:00