mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-29 09:11:17 +01:00
The TPV profile mapped navigationUp and the coloured face buttons to a keyboard key / touch position only. _handleDirectConnect forwards a KeyPair solely when it carries an inGameAction, so those presses never left the phone — and an actionless default is worse than no default at all, because it shadows the action the button would otherwise inherit from ControllerButton.action via Keymap.addNewButtons (which is exactly why navigationDown, absent from the profile, worked). Same gap hit the HUD-toggle and difficulty defaults. Steer Left/Right are added to defaultObpSupportedButtons as well: TPV advertises them in its live app-info frame, but without them the button editor hid steering before a connection. Reported by a rider on Android with TPV on an iPad, whose log showed "Sent Down button press" next to "No connection method active". Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>