From babf5b1e7723125560115cd3436a3ead4c086dbc Mon Sep 17 00:00:00 2001 From: arcattack Date: Tue, 21 Jul 2026 09:36:27 -0500 Subject: [PATCH] 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) --- content/CONTROLS.MAP | 12 ++++++++++++ game/reconstructed/btinput.cpp | 9 +++++++++ 2 files changed, 21 insertions(+) diff --git a/content/CONTROLS.MAP b/content/CONTROLS.MAP index 3dfcd88..6f7808a 100644 --- a/content/CONTROLS.MAP +++ b/content/CONTROLS.MAP @@ -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 diff --git a/game/reconstructed/btinput.cpp b/game/reconstructed/btinput.cpp index f2af152..e50f0b4 100644 --- a/game/reconstructed/btinput.cpp +++ b/game/reconstructed/btinput.cpp @@ -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"