You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an optional "mouse profile" that turns supported Xbox controllers
into a couch-friendly mouse/keyboard input device. The mode can be
toggled via Guide+Select and reuses the existing input infrastructure
by registering an additional (synthetic) mouse device.
In mouse mode:
- left stick moves the pointer (REL_X/REL_Y)
- right stick scrolls (REL_WHEEL/REL_HWHEEL)
- triggers act as left/right mouse buttons with hysteresis
- shoulder buttons provide back/forward
- D-pad generates cursor keys (keyboard interface)
- A/B map to Enter/Escape (keyboard interface)
- X triggers the on-screen keyboard key event (consumer control)
Movement and scrolling are emitted periodically via a timer to provide
a stable update rate and to keep input processing isolated from HID
report timing.
Co-authored-by: Jacob Essex <[email protected]>
Co-authored-by: Florian Dollinger <[email protected]>
Closes: atar-axis#99Closes: atar-axis#105Closes: atar-axis#160Closes: atar-axis#511Fixes: atar-axis#333
See-also: atar-axis#419
See-also: atar-axis#435
Signed-off-by: Kai Krakow <[email protected]>
0 commit comments