branchrust_reboot/main/keyboard_layouts_fixcancel

3 Commits over 0 Days - Infinitycph!

8 Minutes Ago
When reading the cfg, we now apply keys.cfg before keys_default.cfg. Fixes default binds always being re-applied as the primary on startup. This was breaking binds on non-US layouts, AZERTY for example: rebinding +prevskin to A would end up with Q back as the primary and A as a secondary after a restart. But Q is +left for AZERTY users, so moving left while upgrading building blocks was switching skins... Tradeoff: any unbound command gets filled in from defaults on startup
40 Minutes Ago
Default binds are automatically localized so non us-QWERTY players dont have to rebind everything when starting the game for the first time keys_default is now using 'bind_default' instead of 'bind'
1 Hour Ago
More keyboard layout fixes. We now register all buttons using their display name Symbols not part of the Key enum are still stored by their name for consistency Binds saved with raw keycaps are auto converted "bind [ kill" -> "bind leftbracket kill"