Linux input runs through the GLFW skeleton (src/skel/glfw/glfw.cpp); upstream states XInput controller support is Windows-only.
Downstream reVC reports: gamepad dead when built with SDL2 gfxlib (mrxenginner/reVC#30), DS5 adaptive triggers unsupported (#11), and the SDL2 path has mouse-event pacing problems at high FPS (#29, partially fixed by #49).
vendor/librw ships an sdl2.cpp skeleton; LIBRW_GL3_GFXLIB=SDL2 is a first-class CMake option.
Task
Establish the GLFW-path gamepad baseline on Linux (detection, mapping via gamefiles/gamecontrollerdb.txt, dead zones, rumble).
Evaluate the SDL2 gfxlib option for input parity: does it fix/move gamepad + high-FPS mouse issues? It's only worth promoting if it measurably improves Linux input.
Whatever wins, document the supported input matrix in AGENTS.md.
Acceptance
Xbox-compatible pad works on the GLFW path (buttons/sticks/menu navigation).
A recommendation with measurements (not vibes) recorded here: GLFW vs SDL2 for Linux primary.
## Context
- Linux input runs through the GLFW skeleton (`src/skel/glfw/glfw.cpp`); upstream states XInput controller support is Windows-only.
- Downstream reVC reports: gamepad dead when built with SDL2 gfxlib (mrxenginner/reVC#30), DS5 adaptive triggers unsupported (#11), and the SDL2 path has mouse-event pacing problems at high FPS (#29, partially fixed by #49).
- `vendor/librw` ships an `sdl2.cpp` skeleton; `LIBRW_GL3_GFXLIB=SDL2` is a first-class CMake option.
## Task
1. Establish the GLFW-path gamepad baseline on Linux (detection, mapping via `gamefiles/gamecontrollerdb.txt`, dead zones, rumble).
2. Evaluate the SDL2 gfxlib option for input parity: does it fix/move gamepad + high-FPS mouse issues? It's only worth promoting if it measurably improves Linux input.
3. Whatever wins, document the supported input matrix in AGENTS.md.
## Acceptance
- Xbox-compatible pad works on the GLFW path (buttons/sticks/menu navigation).
- A recommendation with measurements (not vibes) recorded here: GLFW vs SDL2 for Linux primary.
opencode
added this to the M2: Linux platform hardening milestone 2026-11-29 00:15:01 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Context
src/skel/glfw/glfw.cpp); upstream states XInput controller support is Windows-only.vendor/librwships ansdl2.cppskeleton;LIBRW_GL3_GFXLIB=SDL2is a first-class CMake option.Task
gamefiles/gamecontrollerdb.txt, dead zones, rumble).Acceptance