Trackball as a scroll wheel: xinput now, firmware later
SuperMarioSF's xinput middle-button emulation turned the ball into a scroll wheel; ClockworkPi then built Fn + ball scrolling into the stock firmware.
What it takes
- Config change
- Firmware flash
Difficulty 2 of 3 — moderate.
Details
The keyboard has no middle button or wheel. SuperMarioSF's 2023 workaround sets libinput properties with xinput in ~/.xsessionrc — middle-button emulation, so holding both buttons (or the ball's own click) while rolling scrolls — X11 only. PotatoMania suggested doing it in trackball.ino instead, Daniel_Segel built that, and cuu merged Fn + trackball scrolling into the official firmware with the flashing tool in November 2023; bsdelf's later pull request moved the modifier to Select so the cursor stops jumping when you let go.
Rex's answer to a 2025 request for silent page scrolling sums up the two current routes: stock firmware (Fn + ball) or QMK (Select + ball), both keyboard-side and independent of the OS.


