Smarter handling of keyboard shortcuts

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
Altainia
Inserter
Inserter
Posts: 26
Joined: Sun May 20, 2018 5:27 pm
Contact:

Smarter handling of keyboard shortcuts

Post by Altainia »

TL;DR
The modifier keys can be used as keyboard shortcuts but also can be used for other actions, and sometimes they conflict. This is a suggestion for resolving some of those conflicts.

What ?
The explanation might do better with an example. With a US keyboard layout, my right-[CTRL] key is on the right side of my keyboard. By default, the key to enter/leave a vehicle is right-[CTRL]. At best, I've found this annoying as my movement keys (WASD) are on the left and my other hand is operating my mouse. At worst, I've found myself in the unfortunate position of running away from biters that I probably should have left alone and hurry into my car while firing on enemies behind me, only to realize that I could not aim, move and get in my car at the same time.

To remedy this, I changed the enter/leave vehicle key to left-[CTRL] which is next to WASD and that worked wonderfully. But that introduced another issue: when [CTRL]-clicking to move items/inventories, when I release left-[CTRL] I find myself unintentionally entering a nearby car or worse, train that's just leaving.

I realized then, that if there was a way for the game to recognize that an action had been completed using a key (left-[CTRL] in this case, the action being having attempted to transfer items to/from an inventory) that it should then not use that same key for any other shortcuts until it is depressed and subsequently repressed.
Why ?
I believe this seemingly small behind-the-scenes feature would, in addition to solving my particular problem, allow for more nuanced key combinations to be used in the future.

User avatar
NotRexButCaesar
Smart Inserter
Smart Inserter
Posts: 1132
Joined: Sun Feb 16, 2020 12:47 am
Contact:

Re: Smarter handling of keyboard shortcuts

Post by NotRexButCaesar »

I don’t think this makes sense. At least not for multi button shortcuts. Pressing control-x and then having to release both would definitely feel weird.
—Crevez, chiens, si vous n'étes pas contents!

Altainia
Inserter
Inserter
Posts: 26
Joined: Sun May 20, 2018 5:27 pm
Contact:

Re: Smarter handling of keyboard shortcuts

Post by Altainia »

I didn't consider the relationship between copy/cut/paste shortcuts.
... Perhaps it can be down to individual actions, whether they act as a finalizing action. I can imagine a checkbox next to every keyboard shortcut option that causes it to terminate further keyboard shortcuts that share a modifier key.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Smarter handling of keyboard shortcuts

Post by ssilk »

I thought the default key for enter/leave is the Enter-key?
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Altainia
Inserter
Inserter
Posts: 26
Joined: Sun May 20, 2018 5:27 pm
Contact:

Re: Smarter handling of keyboard shortcuts

Post by Altainia »

Maybe it was; still on the far side of the keyboard though.

Post Reply

Return to “Ideas and Suggestions”