Rebindable input: vRIO bindings profile ported, full board coverage

PadRIO now loads bindings.txt (vRIO profile grammar: key/pad/padaxis
lines with toggle, deflect/rate, invert/deadzone options) written
self-documenting with the full default layout on first run. The
default is vRIO board-complete map - number and letter rows are the
MFD banks as printed on the panel, F-keys the secondary/screen
columns, numpad the pilot keypad (0x50-0x5F delivered as arcade RIO
KeyEvents, a new PadRIO capability), Space/arrows the joystick
column - with the desktop driving keys carved out: WASD stick, Q/E
pedals, PgUp/PgDn throttle, B reverse (vRIO gap key; R returns to
its bank). Pad bindings unchanged in spirit, plus Panic on LB and
config on Start/Back; axis signs are encoded in the profile now, so
L4PADFLIP flips on top of it.

Default profile parses with zero rejected lines (68 key buttons, 8
key axes, 12 pad buttons, 5 pad axes); single-player cycle and the
key-bomb tests stay green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Cyd
2026-07-13 10:18:36 -05:00
co-authored by Claude Fable 5
parent fbd23ff1ca
commit b0def79de2
6 changed files with 844 additions and 105 deletions
+8 -3
View File
@@ -99,15 +99,20 @@ Red Planet 4.12 - desktop prototype
Run start-windowed.bat (or: rpl4opt.exe -windowed -res 800 600 -egg TEST.EGG).
No cockpit hardware needed. If there is no sound, run oalinst.exe once.
Controls (XInput controller and/or keyboard):
Controls (XInput controller and/or keyboard) - EVERY input is
rebindable: edit bindings.txt beside the exe (written with the full
documented default layout on first run; delete it to restore).
Left stick / WASD joystick
LT / RT or Q / E left / right pedal
Right stick Y, PgUp/PgDn throttle (holds position)
A / Space joystick trigger
B / R reverse thrust
RB / B key reverse thrust
DPad / arrow keys joystick hat (look)
Start,Back / F1,F2 config buttons
Start,Back / 9,0 config buttons
Number+letter rows MFD bank buttons (as printed on the panel)
F1-F12 secondary / screen columns
Numpad pilot keypad (0-9, /*-+. = A-E, Enter = F)
Alt+Q abort the mission (score banked)
The full pod cockpit comes up in a single window: three green MFDs