forked from libretro/RetroArch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Input sanitization, wayland enhancement and overlay
Adapt the sanitized pointer handling, discussed at libretro#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
- Loading branch information
Showing
5 changed files
with
102 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters