Keymap: sync CONTROLS.MAP to the bindings.txt layout (one map everywhere)

The user standardized on the "newer" layout (numpad aim cluster, arrows =
throttle/pedals, Alt = reverse thrust).  That layout lived only in
bindings.txt (PadRIO, GLASS-profile boots); CONTROLS.MAP (btinput, DEV/pod
boots) lacked the numpad cluster entirely and had NO reverse binding -- so
the felt keymap flip-flopped with the boot flavor.

Added to CONTROLS.MAP + the byte-identical compiled-in default profile
(btinput.cpp sDefaultProfile):
  Alt          -> button 0x3F (throttle-head REVERSE THRUST)
  NumPad8/2    -> JoystickY aim up/down
  NumPad4/6    -> JoystickX torso twist
  NumPad7/9    -> pedals (turn)
  NumPad5      -> AllStop
  Shift        -> throttle up (alt)
Parse-verified: [input] loaded 61 binding(s) from CONTROLS.MAP, no warnings.
Both engines now carry the same layout, so DEV/pod boots (MP join bats) and
GLASS boots (play_solo) feel identical.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
arcattack
2026-07-21 09:36:27 -05:00
co-authored by Claude Opus 4.8
parent 4215b98655
commit babf5b1e77
2 changed files with 21 additions and 0 deletions
+12
View File
@@ -69,6 +69,18 @@ key D2 button 0x46 # Middle thumb (PPCs group)
key D3 button 0x47 # Upper thumb (missiles group)
key Ctrl button 0x47
key D4 button 0x45 # Pinky (4th group)
key Alt button 0x3F # throttle-head = REVERSE THRUST
# --- numpad aim cluster (torso twist/aim -- mirrors bindings.txt so the
# --- glass (PadRIO) and desktop (btinput) boots feel identical) ---
key NumPad8 axis JoystickY deflect 1 # torso aim up
key NumPad2 axis JoystickY deflect -1 # torso aim down
key NumPad4 axis JoystickX deflect -1 # torso twist left
key NumPad6 axis JoystickX deflect 1 # torso twist right
key NumPad7 axis LeftPedal deflect 1 # turn left (alt)
key NumPad9 axis RightPedal deflect 1 # turn right (alt)
key NumPad5 action AllStop
key Shift axis Throttle rate 0.7 # throttle up (alt)
# Systems.
key G action ConfigHold # hold + fire keys = regroup the weapon
+9
View File
@@ -269,6 +269,15 @@ static const char *sDefaultProfile =
"key D3 button 0x47\n"
"key Ctrl button 0x47\n"
"key D4 button 0x45\n"
"key Alt button 0x3F\n"
"key NumPad8 axis JoystickY deflect 1\n"
"key NumPad2 axis JoystickY deflect -1\n"
"key NumPad4 axis JoystickX deflect -1\n"
"key NumPad6 axis JoystickX deflect 1\n"
"key NumPad7 axis LeftPedal deflect 1\n"
"key NumPad9 axis RightPedal deflect 1\n"
"key NumPad5 action AllStop\n"
"key Shift axis Throttle rate 0.7\n"
"key G action ConfigHold\n"
"key C action Valve\n"
"key H action Flush\n"