KEYBINDS DOESNT WORK #655

Open
opened 2026-12-05 22:44:19 +00:00 by playboicarti · 1 comment

so i changed my keybinds 2 match azerty but Q still doesn't work . Q is supposed 2 turn left so rn i can't turn left anymore. I also tried assigning N 2 turn left but it still doesnt work with N either.

AMD Ryzen 7 7800X3D , 32GB DDR5 , Windows 11

RTX 4080 SUPER 16GB , driver 621.47

so i changed my keybinds 2 match azerty but Q still doesn't work . Q is supposed 2 turn left so rn i can't turn left anymore. I also tried assigning N 2 turn left but it still doesnt work with N either. AMD Ryzen 7 7800X3D , 32GB DDR5 , Windows 11 RTX 4080 SUPER 16GB , driver 621.47

Two things in crates/darner-hle/src/modules/gameinput/mnk.rs explain both Q and N not working:

  1. AZERTY layout mapping: letters in bindings.ini are mapped by their physical US keyboard position (darner_game::pad::letter_in_layout). So the defaults MoveUp = W, MoveLeft = A, MoveDown = S, MoveRight = D already correspond to Z / Q / S / D on AZERTY. If you change MoveLeft = A to MoveLeft = Q, it maps to the physical US Q key (which is A on AZERTY), so pressing Q won't move left. Keep W/A/S/D instead!
  2. Empty lines break parsing silently: if you cleared another binding like RB = (to free Q), mnk::parse currently rejects empty values and fails parsing the entire bindings.ini, silently keeping the previous bindings — which would explain why MoveLeft = N also had no effect afterwards. Also make sure F1 → CONTROLS → MOUSE AND KEYBOARD is turned on (bindings.ini still says F10 by mistake).

I have a small fix ready for post-merge to allow empty bindings (RB =), print bindings.ini parse errors to the console, and clarify the F1/AZERTY notes in bindings.ini.

Two things in `crates/darner-hle/src/modules/gameinput/mnk.rs` explain both `Q` and `N` not working: 1. **AZERTY layout mapping**: letters in `bindings.ini` are mapped by their **physical US keyboard position** (`darner_game::pad::letter_in_layout`). So the defaults `MoveUp = W`, `MoveLeft = A`, `MoveDown = S`, `MoveRight = D` already correspond to **Z / Q / S / D** on AZERTY. If you change `MoveLeft = A` to `MoveLeft = Q`, it maps to the physical US `Q` key (which is `A` on AZERTY), so pressing `Q` won't move left. Keep `W/A/S/D` instead! 2. **Empty lines break parsing silently**: if you cleared another binding like `RB =` (to free `Q`), `mnk::parse` currently rejects empty values and fails parsing the entire `bindings.ini`, silently keeping the previous bindings — which would explain why `MoveLeft = N` also had no effect afterwards. Also make sure **F1 → CONTROLS → MOUSE AND KEYBOARD** is turned on (`bindings.ini` still says `F10` by mistake). I have a small fix ready for `post-merge` to allow empty bindings (`RB =`), print `bindings.ini` parse errors to the console, and clarify the `F1`/AZERTY notes in `bindings.ini`.
TrustNo1 changed title from [REPORT] [BUG] KEYBINDS DOESNT WORK to KEYBINDS DOESNT WORK 2026-12-06 03:18:36 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
TrustNo1/Darner#655
No description provided.