On a mac, the left and right modifier keys are distinguishable. In most cases this makes little difference.
However, in the case of the train GUI, when trying to select a temporary station for a train to path to, the left <ctl> key works, and the right <ctl> key does not.
[posila] [0.17.53] Mac right <ctl> key not recognized by train GUI
-
- Inserter
- Posts: 23
- Joined: Sat Mar 09, 2019 6:57 am
- Contact:
Re: [0.17.53] Mac right <ctl> key not recognized by train GUI
Thanks for the report.
This is not macOS specific. When modifier keys are not used as modifiers (the shortcut doesn't contain any other key or mouse input that would be "modified" by the modifier key), they are being treated as different, so they can be used for different things (they could be distinguished also when used as modifiers but we don't do that for whatever reason).
As it is not, you can bind "Temporary station modifier" to any complex shortcut (ie. Ctrl + Shift + S, or just S for that matter - even though that has its own problems) and I don't see reason to limit it to modifier keys just so the binding is actually treated as a modifier key.
So, for 0.17.54 I've added "Right Control" as a default secondary binding for the "Temporary station modifier" option.
This is not macOS specific. When modifier keys are not used as modifiers (the shortcut doesn't contain any other key or mouse input that would be "modified" by the modifier key), they are being treated as different, so they can be used for different things (they could be distinguished also when used as modifiers but we don't do that for whatever reason).
As it is not, you can bind "Temporary station modifier" to any complex shortcut (ie. Ctrl + Shift + S, or just S for that matter - even though that has its own problems) and I don't see reason to limit it to modifier keys just so the binding is actually treated as a modifier key.
So, for 0.17.54 I've added "Right Control" as a default secondary binding for the "Temporary station modifier" option.