RetroArch/input/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
..
android_input.c Fix mouse grab behavior on Android (#16203) 2024-03-19 05:33:02 -07:00
cocoa_input.h Restore "macOS Cocoa: fix mouse grab in windowed mode." 2023-06-06 01:52:13 +02:00
cocoa_input.m RETROK_UNKNOWN fixes and cleanups (#16250) 2024-02-18 08:23:05 -08:00
ctr_input.c Improve haptic feedback for input overlays (#14517) 2022-10-16 09:58:09 +02:00
dinput.c RETROK_UNKNOWN fixes and cleanups (#16250) 2024-02-18 08:23:05 -08:00
dos_input.c (Input) Style nits/code simplifications 2023-02-19 06:30:14 +01:00
gx_input.c (GX) More buildfixes for Github CI 2022-11-27 23:46:30 +01:00
linuxraw_input.c RETROK_UNKNOWN fixes and cleanups (#16250) 2024-02-18 08:23:05 -08:00
ps2_input.c Improve haptic feedback for input overlays (#14517) 2022-10-16 09:58:09 +02:00
ps3_input.c Unify ps3 (#15014) 2023-02-23 00:35:46 +01:00
ps4_input.c (Input) Style nits/code simplifications 2023-02-19 06:30:14 +01:00
psp_input.c Cleanups/style nits 2023-02-23 13:15:14 +01:00
qnx_input.c Explicit typecasts to bools for flags 2023-08-16 04:18:55 +02:00
rwebinput_input.c RETROK_UNKNOWN fixes and cleanups (#16250) 2024-02-18 08:23:05 -08:00
sdl_dingux_input.c Improve haptic feedback for input overlays (#14517) 2022-10-16 09:58:09 +02:00
sdl_input.c RETROK_UNKNOWN fixes and cleanups (#16250) 2024-02-18 08:23:05 -08:00
switch_input.c RETROK_UNKNOWN fixes and cleanups (#16250) 2024-02-18 08:23:05 -08:00
udev_input.c RETROK_UNKNOWN fixes and cleanups (#16250) 2024-02-18 08:23:05 -08:00
uwp_input.c RETROK_UNKNOWN fixes and cleanups (#16250) 2024-02-18 08:23:05 -08:00
wayland_input.c RETROK_UNKNOWN fixes and cleanups (#16250) 2024-02-18 08:23:05 -08:00
wiiu_input.c RETROK_UNKNOWN fixes and cleanups (#16250) 2024-02-18 08:23:05 -08:00
winraw_input.c RETROK_UNKNOWN fixes and cleanups (#16250) 2024-02-18 08:23:05 -08:00
x11_input.c RETROK_UNKNOWN fixes and cleanups (#16250) 2024-02-18 08:23:05 -08:00
xdk_xinput_input.c (Input) Style nits/code simplifications 2023-02-19 06:30:14 +01:00
xenon360_input.c (Input) Style nits/code simplifications 2023-02-19 06:30:14 +01:00