Page 1 of 1
Confirm Keybinding for Numeric Fields
Posted: Sun Nov 10, 2024 7:41 pm
by SupplyDepoo
Since the default 'E' to confirm no longer works in numeric input fields (logistic requests, combinator constants, etc) due to the postfix symbols feature (k, m, g, ...), I would like to add a secondary keybinding that uses a modifier key like CTRL+E or CMD+E (on mac) which should not result in a textual input. Currently such a keybinding is ignored (nothing happens) and as there's no way to lose the focus that I'm aware of, that makes one-handed input clunky because I have to reach all the way across the keyboard to hit the enter/return key (or take my hand off the mouse).
In other words, please make CTRL and CMD modifiers ignore text input focus. (Maybe Alt/Option and Shift too?)
(Also it's not just numeric input fields, this would be helpful for train stop naming, blueprints, etc, although I usually already have both hands on the keyboard for those.)
Re: Confirm Keybinding for Numeric Fields
Posted: Sun Nov 10, 2024 7:48 pm
by BraveCaperCat
SupplyDepoo wrote: ↑Sun Nov 10, 2024 7:41 pm
Since the default 'E' to confirm no longer works in numeric input fields (logistic requests, combinator constants, etc) due to the postfix symbols feature (k, m, g, ...), I would like to add a secondary keybinding that uses a modifier key like CTRL+E or CMD+E (on mac) which should not result in a textual input. Currently such a keybinding is ignored (nothing happens) and as there's no way to lose the focus that I'm aware of, that makes one-handed input clunky because I have to reach all the way across the keyboard to hit the enter/return key (or take my hand off the mouse).
In other words, please make CTRL and CMD modifiers ignore text input focus. (Maybe Alt/Option and Shift too?)
(Also it's not just numeric input fields, this would be helpful for train stop naming, blueprints, etc, although I usually already have both hands on the keyboard for those.)
Couldn't you just add E as the alternate for the Enter key?
Re: Confirm Keybinding for Numeric Fields
Posted: Sun Nov 10, 2024 7:51 pm
by SupplyDepoo
BraveCaperCat wrote: ↑Sun Nov 10, 2024 7:48 pm
Couldn't you just add E as the alternate for the Enter key?
There's no "Enter key" function that can be rebound. It seems to be hardcoded, so no.
Re: Confirm Keybinding for Numeric Fields
Posted: Sun Nov 10, 2024 7:54 pm
by BraveCaperCat
SupplyDepoo wrote: ↑Sun Nov 10, 2024 7:51 pm
BraveCaperCat wrote: ↑Sun Nov 10, 2024 7:48 pm
Couldn't you just add E as the alternate for the Enter key?
There's no "Enter key" function that can be rebound. It seems to be hardcoded, so no.
ah
Re: Confirm Keybinding for Numeric Fields
Posted: Mon Nov 11, 2024 9:20 pm
by Koub
Related suggestion here :
viewtopic.php?f=6&t=117956