Repository navigation
v20261125-c1e-controller-feedback-test
Pre-release
Pre-release
·
80 commits
to main
since this release
Controller Feedback Test — chunk C1e: the Controller window now shows what every
mapped control is doing, with live values instead of a generic indicator.
What's in it
- Live column: buttons report
pressed/released, axes show their raw current
number, D-pads show the hat bitfield. The list refreshes every 100 ms for the
selected controller; active rows are highlighted green. - Selected-controller state only: tracked in
src/gamepad/, cleared on selection
change, device removal and shutdown. It does not depend on the diagnostics window,
so it works in release builds (GAMEPAD_DEBUG_OFF). - Mapping flow, per-controller
controller.cfgpersistence and gyro/noise-axis
filtering from C1d are unchanged.
Fixed
- Triggers showed active while resting: SDL triggers rest at the bottom of their
calibrated range, so the previous centered test treated the resting value as
pressed. They now activate only above the lower quarter of the calibrated range;
sticks keep a fixed magnitude threshold.
Verified
Live values and trigger rest state checked by hand on Linux x86_64, Windows under Wine
and Android arm64-v8a (Galaxy S25 Ultra). Full 21-step mapping from C1d still works.
Assets
| Asset | Size |
|---|---|
openttd-20261125-main-g117098572a-linux-x86_64.zip |
~11.2 MB |
openttd-20261125-main-g117098572a-win64.zip |
~17.6 MB |
openttd-20261125-main-g117098572a-android-arm64-v8a-debug.apk |
~91.6 MB |
This republish also fixes clipped columns on high-DPI Android (S25 Ultra): boundaries now scale with the window width and dense rows use small text.
Pre-release; C1f adds hardcoded in-game function descriptions to this window.