mirror of
https://github.com/libretro/RetroArch
synced 2025-03-21 04:21:13 +00:00
Adapt the sanitized pointer handling, discussed at #17196 : X11 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 Udev driver specific changes: remove custom calculation and use common viewport translation unify pointer query instead of separate _x and _y enable pointer offscreen reporting Other changes: more tuning of pointer conversion in video_driver.c for edges lightgun button ID conversion moved to input_driver.c