Repository navigation
Controls and remapping
BLiNX 2 was made for the original Xbox controller (the "Duke"). The port shows the game a Duke on player 1, fed by your controller, your keyboard and your mouse at the same time: buttons from all of them add up, and a stick that the keys or the mouse move replaces the controller's stick.
You can change all of it:
-
keyboard and mouse keys under
[input.bindings]inconfig.toml; -
controller buttons, triggers and sticks under
[input.pad]in the same file; - the menu's own shortcuts (open the menu, the stats strip, the free camera and other mods) on the in-game menu's Controls page, or under
[input.actions].
An in-game page for remapping the game's own buttons is planned for the menu. Until it lands, the game's buttons are changed in config.toml, as described below.
Your settings live in config/config.toml inside the game's data folder. That file holds only what you changed; the full list of settings and their defaults is config.default.toml beside the game (in Contents/Resources inside the macOS app), which every update replaces. Don't edit config.default.toml: put your changes in config/config.toml.
| Installed on | Data folder | Your settings |
|---|---|---|
| Windows | %LOCALAPPDATA%\BLiNX2 |
%LOCALAPPDATA%\BLiNX2\config\config.toml |
| macOS | ~/Library/Application Support/BLiNX2 |
~/Library/Application Support/BLiNX2/config/config.toml |
Steam Deck or Linux (the steamos bundle the wizard makes) |
~/Games/BLiNX2 |
~/Games/BLiNX2/config/config.toml |
| Linux, native build (built by hand) | ~/Games/BLiNX2-linux |
~/Games/BLiNX2-linux/config/config.toml |
On Windows, paste %LOCALAPPDATA%\BLiNX2\config into the Explorer address bar to open the folder. On a Mac, use Finder's Go > Go to Folder… with ~/Library/Application Support/BLiNX2/config. The game writes the file (as a comment header) on its first launch, and no update ever touches it.
Edit it with any plain-text editor, save it, and start the game again: the input settings are read when the game starts. The in-menu changes (below) are live and written to the same file when you press Save in the menu.
If a line has a mistake, the game still starts: it skips that line and writes one line about it to the game log in the logs folder beside config, for example:
[INPUT] config error: config/config.toml:4: unknown input 'Spacebar' in input.bindings.a (see docs/input.md); skipped
With no [input.pad] table the game sees your controller as it is: the face buttons by position, the shoulders as White and Black, the triggers and sticks raw, with no deadzone.
| Your controller (Xbox layout) | PlayStation | Xbox control the game sees | What it does in BLiNX 2 |
|---|---|---|---|
| Left stick | Left stick | Left stick | move |
| Right stick | Right stick | Right stick | the camera |
| D-pad | D-pad | D-pad | menus and selection |
| A (bottom) | Cross | A | jump; confirm |
| B (right) | Circle | B | action; back in menus |
| X (left) | Square | X | time control |
| Y (top) | Triangle | Y | in play |
| LB | L1 | White | in play |
| RB | R1 | Black | in play |
| LT | L2 | Left trigger | in play |
| RT | R2 | Right trigger | sweep and shoot |
| Left stick click (L3) | L3 | Left stick click | |
| Right stick click (R3) | R3 | Right stick click | camera |
| Menu / Start | Options | START | pause; "press start" |
| View / Back | Share / Create | BACK | menus |
On a Nintendo-layout pad the face buttons also go by position, so the bottom button (B on the pad) is the game's A.
| Keys and mouse | Xbox control | What it does in BLiNX 2 |
|---|---|---|
W S A D, or numpad 8 2 4 6
|
left stick | move |
mouse motion, or I K J L
|
right stick | the camera |
| arrow keys | d-pad | menus and selection |
Space |
A | jump; confirm |
left click or R
|
right trigger | sweep and shoot |
right click or F
|
B | action; back in menus |
E |
X | time control |
Q |
Y | in play |
C |
White | in play |
Z |
Black | in play |
left Shift
|
left trigger | in play |
Tab |
left stick click | |
| middle click | right stick click | camera |
Enter or Escape
|
START | pause; "press start" |
Backspace |
BACK | menus |
left Alt (hold) |
walk: the movement keys push the stick half way | |
F9 |
free the mouse cursor; again to grab it |
Free by default, so there is room for your own: X V G T Y U O P H N M B, the digits, Ctrl, F1 to F8 (some are menu shortcuts, below), F12, the punctuation keys, the fourth and fifth mouse buttons and the wheel.
These are host actions: things the port does, not the game. They never reach the game.
| Action | Default | Does |
|---|---|---|
menu.open |
F10; Guide+A; paddle1 (a back paddle: an Elite's P1, a Deck's R4 where the game reads the pad directly); Back+L3 held 0.4 s |
opens and closes the in-game menu |
overlay.stats |
F3 |
shows or hides the stats strip (fps, frame time) |
padrec.record / padrec.play / padrec.stop
|
F1 / F2 / F5
|
pad recordings (the menu's Recordings page) |
camera.free.toggle |
F6; Guide+Y; Back+R3 held 0.4 s |
starts and stops the free camera, when that mod is on |
camera.free.hud / .freeze / .reset
|
F7 / End / Home
|
while flying: hide the HUD, freeze the world, back to the game's camera |
F11 is kept for fullscreen. Back+L3 is there for systems that keep the Guide button for themselves (the Xbox Game Bar on Windows, Steam, SteamOS): a lone Back or L3 press still reaches the game.
Each line names an Xbox control and the key or keys that press it: one name, or a list of names in brackets.
[input.bindings]
# Jump on J as well as Space.
a = ["Space", "J"]
# Time control on the fourth mouse button instead of E.
x = "Mouse4"
# Y on the wheel: a notch up presses it for a moment.
y = "WheelUp"
# Move with the arrow keys too (the d-pad then needs other keys).
left_stick_up = ["W", "Up"]
left_stick_down = ["S", "Down"]
left_stick_left = ["A", "Left"]
left_stick_right = ["D", "Right"]
dpad_up = "T"
dpad_down = "G"
dpad_left = "V"
dpad_right = "B"
# No key for the left stick click.
left_thumb = []The rules:
-
Your line replaces the default for that control whole.
start = "Enter"dropsEscapefrom START.a = []leaves A with no key. -
A key you bind is taken off every control that had it by default, so one key never presses two controls by accident.
b = "Space"makes Space press B only; A then has no key unless you give it one (a = "G"). - In your file, a key named under two controls is reported and the second one is ignored.
- A control you don't mention keeps its default keys.
- A control takes up to 8 keys.
dpad_up dpad_down dpad_left dpad_right start back left_thumb right_thumb a b x y black white left_trigger right_trigger left_stick_up left_stick_down left_stick_left left_stick_right right_stick_up right_stick_down right_stick_left right_stick_right
left_thumb and right_thumb are the stick clicks (L3, R3).
Names are not case-sensitive and follow the label on the key, so on an AZERTY keyboard Z is the key labelled Z.
- letters
AtoZ, digits0to9,F1toF12; -
Space,Enter(orReturn),Escape(orEsc),Backspace,Tab,Pause,CapsLock; -
LShiftRShift(Shift: either),LCtrlRCtrl(CtrlorControl),LAltRAlt(Alt); -
UpDownLeftRight,InsertDeleteHomeEndPageUpPageDown; - the numpad:
Numpad0toNumpad9,NumpadEnterNumpadAddNumpadSubtractNumpadMultiplyNumpadDivideNumpadDecimal; - punctuation:
CommaPeriodSlashSemicolonQuoteLeftBracketRightBracketBackslashMinusEqualsGrave; - the mouse:
Mouse1(left)Mouse2(right)Mouse3(middle)Mouse4Mouse5,WheelUpWheelDown.
The Windows key and Cmd belong to the system and can't be bound. Binding F9, F10 or F11 works but logs a warning, since they free the cursor, open the menu and switch fullscreen.
To find a key's name, add RECOMP_TRACE=key on a line of its own in config/launch.env (in the data folder), start the game and press the key: the log shows [KEY] down semicolon, and that name goes in the file. Remove the line afterwards.
Names from builds before the 2026-10 release (ltrigger, lthumb, KP8, MouseLeft, ...) are no longer read; the keyboard and mouse docs list the new ones.
Under [input] in config/config.toml:
| Key | Default | What it does |
|---|---|---|
keyboard |
true |
false turns the keyboard off |
mouse |
true |
false turns the mouse off |
mouse_look |
"right_stick" |
what mouse motion moves: "right_stick" (the camera), "left_stick" (Blinx), "none" (buttons only) |
mouse_sensitivity |
1.0 |
0.1 to 10.0
|
mouse_invert_y / mouse_invert_x
|
false |
flip the mouse look |
mouse_min_deflection |
0.45 |
0.0 to 0.9: the least any mouse motion pushes the stick (the game ignores a stick under about 0.4) |
mouse_capture |
"focus" |
"focus", "click" (the first click grabs the cursor) or "never"
|
mouse_release_key |
"F9" |
the key that frees the cursor; "none" for none |
wheel_pulse_ms |
100 |
how long one wheel notch holds its control |
stick_ramp_ms |
60 |
0 to 2000: how fast a movement key reaches full; 0 is at once |
walk_key |
"LAlt" |
held, the movement keys push the stick only walk_scale of the way; "none" for none |
walk_scale |
0.5 |
0.41 to 1.0
|
Each line names an Xbox control the game sees and the button or axis of your controller that drives it. Without this table nothing changes.
[input.pad]
# Swap White and Black (LB and RB).
white = "right_shoulder"
black = "left_shoulder"
# Jump with the bottom face button or a back paddle (two sources: the second is an alternate).
a = ["south", "paddle2"]
# Time control on RB; White then has no button unless you give it one.
x = "right_shoulder"
# The game never sees the left stick click.
left_thumb = []
# Swap the sticks: the physical left stick drives the camera.
right_stick = "left"
left_stick = "right"dpad_up dpad_down dpad_left dpad_right start back left_thumb right_thumb a b x y black white left_trigger right_trigger, plus left_stick and right_stick.
The eight stick directions (left_stick_up ...) are keyboard-only; to move a whole stick, use left_stick or right_stick with "left", "right" or "none": which physical stick drives it.
A value is one source, a list of up to two (the second is an alternate), or [] / "none" to unbind.
| Source | What it is |
|---|---|
south east west north
|
the face buttons by position: Xbox A B X Y, PlayStation Cross Circle Square Triangle, Nintendo B A Y X |
back start guide
|
View/Back, Menu/Start, the Guide (Xbox, PS) button |
left_shoulder right_shoulder
|
LB, RB |
left_trigger right_trigger
|
LT, RT |
left_stick_click right_stick_click
|
L3, R3 |
dpad_up dpad_down dpad_left dpad_right
|
the d-pad |
left_stick_up ... left_stick_right, right_stick_up ... right_stick_right
|
a stick pushed one way (presses a button once it passes pad_threshold) |
misc1 |
the share or capture button |
touchpad |
a PlayStation pad's touchpad click |
paddle1 paddle2 paddle3 paddle4
|
back paddles: upper right, upper left, lower right, lower left (an Elite's P1, P3, P2, P4; a Steam Deck's R4, L4, R5, L5) |
Only these names work: a or lb as a source is an unknown name, because sources are named by position.
The rules are the same as for keys: your line replaces that control's default whole, and a source you map is taken off every control that had it by default, so b = "left_shoulder" takes LB off White. A source named under two controls is reported and the second ignored. Mapping guide works but logs a warning, since most systems keep that button for themselves.
What a Windows build can see. The Windows build (and the Steam Deck bundle, which runs it under Proton) reads the controller through XInput, which has no paddles, share button or touchpad: paddle1 to paddle4, misc1 and touchpad never fire there. The macOS and native Linux builds read the controller through SDL3 and see them. On the Deck, use Steam Input for the back grips (below).
Under [input]:
| Key | Default | What it does |
|---|---|---|
pad_deadzone_left |
0 |
0 to 95: percent of the left stick ignored around the centre; the stick is rescaled so it still reaches full. 0 keeps the raw stick |
pad_deadzone_right |
0 |
the same for the right stick |
pad_threshold |
50 |
1 to 100: how far (percent) a trigger or a stick direction must go to press a button you mapped it to |
pad_invert_ly |
false |
invert the left stick's up and down |
pad_invert_ry |
false |
invert the right stick's up and down |
pad_square_left |
false |
circle to square: a full diagonal on a round stick reads as a full corner, as on the Duke's square gate. Needed for the Full Diagonal Movement mod. Also on the menu's Controls page |
pad_square_right |
false |
the same for the right stick |
[input]
pad_deadzone_left = 10 # a worn stick that drifts
pad_invert_ry = true # flight-style camera
pad_square_left = true # full-speed diagonals with Full Diagonal MovementOpen the menu with F10 (or Guide+A, a back paddle, or Back+L3 held for 0.4 s) and go to Controls. It lists every host action with its bindings: the toolkit's (menu, stats strip, pad recordings), the game's, then one group per mod, such as the free camera.
- Select a row and press A to add a binding: press the next key, or hold the controller buttons together for 0.4 s (one button, two buttons, or a chord such as Guide+A). It works at once.
-
X clears a row's bindings (
menu.openalways keeps one). - A key or a single button the game itself uses is refused, with the reason at the bottom of the page, so an action never steals a game control. Use a free key, a paddle, or a two-button chord held 0.2 s or more.
- Sticks: Square left stick and Square right stick toggles, live at once.
- Mouse: how the cursor is captured, and which keys free it.
- A mod's own flight controls (such as the free camera's Rise) are on that mod's page under Mods.
Press Save in the menu to keep the changes: only what you changed goes into config/config.toml, under [input.actions]. The same table works by hand:
[input.actions]
menu.open = ["F10", "back+left_thumb@400", "paddle1"]
camera.free.toggle = "F6"
overlay.stats = [] # no shortcut for the stats stripA binding there is a key (optionally with modifiers, as ctrl+F6), a controller source by the names above, or a chord of sources joined by +, with an optional hold in milliseconds after @ (back+left_thumb@400).
The Controls page does not remap the game's own buttons (jump, time control, ...) yet; that is the planned remapping page. For now, use [input.pad] and [input.bindings].
On the Deck, the wizard's bundle runs the game under Proton, with Steam Input between the controller and the game: the game sees Steam's virtual Xbox pad.
- Use the Gamepad controller template for the game. A template that emulates a mouse also works; the trackpad then turns the camera.
- SteamOS keeps the Steam button and its chords, so Guide+A never reaches the game. Open the menu with Back+L3 held 0.4 s, or put
F10on R4 once:- With the game selected in the library (or from the in-game Steam menu), open the controller settings: the controller icon, then Edit Layout.
- Pick Back Grip Buttons, then R4, then Keyboard, and the key
F10. - Back out; Steam saves the layout for that game.
Another grip can carry another key the same way, for example R5 to
F6for the free camera.
- Steam Input's layout editor can also remap the Deck's buttons and sticks before the game sees them. If you do that, leave
[input.pad]empty, or the two remaps stack.
-
One control: delete its line from
config/config.toml(under[input.bindings],[input.pad]or[input.actions]) and start the game again; it goes back to its default. - All the menu's settings and shortcuts: the menu's Save page has Reset to defaults; it asks once, then puts every menu item and action binding back. Press Save to keep that.
-
Everything: close the game and delete (or rename)
config/config.toml. The next launch writes a fresh, empty one, and every setting, key and button is back to its default. Your saves are inhdd/, not inconfig/, and are not touched.
keyboard = false or mouse = false under [input] in config/config.toml, or RECOMP_KEYBOARD=0 / RECOMP_MOUSE=0 on their own lines in config/launch.env (those win over the file).
- No in-game page to remap the game's own buttons yet: the file is the way. It's planned.
- The keyboard and mouse are always player 1.
- The mouse is a stick and buttons, not a pointer: the game has no cursor.
- With several controllers connected, the first one pressed becomes player 1.
More detail, for the curious: the toolkit's config reference has every rule behind [input.bindings], [input.pad] and [input.actions].