[0.18.8] Escape key

Things that we don't consider worth fixing at this moment.
Furok
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Feb 22, 2020 5:55 am
Contact:

[0.18.8] Escape key

Post by Furok »

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.
Attachments
factorio-current.log
(5.83 KiB) Downloaded 55 times
posila
Factorio Staff
Factorio Staff
Posts: 5408
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.18.8] Escape key

Post by posila »

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.
Post Reply

Return to “Won't fix.”