mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 19:21:27 +00:00
Adapt the sanitized pointer handling, discussed at #17196 : Overlay "driver" specific changes: - make sure pointer position is always within [-0x7fff,0x7fff] by using the confined wrapper - enable pointer offscreen query - report -0x8000 for lightgun if pointer is at the edge - align lightgun offscreen reporting and button ID conversion with other drivers Android driver specific changes: - make sure pointer position is always within [-0x7fff,0x7fff] by using the confined wrapper - remove extra "inside" checks, general simplification - enable pointer offscreen reporting - report same value for all ports when querying mouse and lightgun - fill missing lightgun support, with fixed button map Udev and X11 driver specific changes: - simulate max. 3 touches instead of 1 using different mouse buttons Wayland driver specific changes: - integrate touch input better to the overall handling (enabling overlay usage with mouse) - simulate max. 3 touches instead of 1 using different mouse buttons