mirror of
https://github.com/libretro/RetroArch
synced 2025-02-22 03:40:43 +00:00
Adapt the sanitized pointer handling, discussed at libretro#17196 : winraw and dinput 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 use common functions for edge detection and lightgun button ID conversion sdl driver specific changes: pointer handling aligned with the other input drivers, as above added TODO for lightgun part - no suitable test env at the moment where SDL input can be used