Files
swiftcontrol/lib/utils/keymap
Jonas Acker 07c2936dd2 feat(mapping): warn when steering sits on a click, move it to long press
Steering and push-to-talk only act while the button is held; on a single
or double click the press and release go out back to back, so they do
next to nothing. InGameAction.requiresHold marks them and
KeyPair.holdActionOnClick finds them on a click.

- Action picker (drawer and wide detail pane): an inline warning under the
  picked action with "Assign to Long Press", which moves the action to the
  button's long press and clears the click. Without Pro, another trigger
  staying beside it asks Go Pro / replace first; a long press that does
  something else is replaced only after confirming. Built-in mappings are
  copied first.
- Mapping rows, trigger rows, trigger cards, the trigger popup and the
  Ride last-press strip mark an existing hold action on a click.
- Built-in mappings: two shipped steering on a single click; they now use
  long press (a short tap still sends a press and release). One mapping
  sent "steer left" for the right navigation button; it now steers right.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-04 18:03:12 +02:00
..