I swap the escape and caps lock key on keyboard using sharpkeys. In order to open the pause menu, I need to press the physical escape key (which is bound to caps lock). Pressing it turns on caps lock, and opens the pause menu. Pressing caps lock, which is bound to escape, does nothing.
Today I finished building my new iris keyboard. I also removed all the key rebindings in windows. As you can see from the picture there really isn't a normal escape key. While all other input works fine, none of the keys open the pause menu.
Factorio is the first program I've run into this problem with, so I don't believe it's a problem with the way I rebound the key.
[0.18.8] Escape key
[0.18.8] Escape key
- Attachments
-
- factorio-current.log
- (5.83 KiB) Downloaded 56 times
Re: [0.18.8] Escape key
Hello, launch the game and in the main menu go to controls settings and bind "Toggle menu" to the key you want to use as escape.
In 0.17 we switched input handling from keycodes to scancodes to properly handle different national keyboard layouts: https://www.factorio.com/blog/post/fff-259 (we did special handling for universal shortcuts like Ctrl+C, Ctrl+V, etc. but that turned out to be mistake)
I think it is more important for a game to handle different keyboard layouts rather than key rebinding in OS, and option to rebind keys in-game is sufficient for this case.
In 0.17 we switched input handling from keycodes to scancodes to properly handle different national keyboard layouts: https://www.factorio.com/blog/post/fff-259 (we did special handling for universal shortcuts like Ctrl+C, Ctrl+V, etc. but that turned out to be mistake)
I think it is more important for a game to handle different keyboard layouts rather than key rebinding in OS, and option to rebind keys in-game is sufficient for this case.