Hi,
Richard Frith-Macdonald wrote:
Yes, I'm sure SystemPreferences.app has a panel for mapping modifier keys.
I have a vague memory that there's documentation on how to do it with the
defaults system too.
Exactly, SystemPreferences is just a graphical front-end for those defaults.
An "ugly" detail is that in case you set them to "none", so you don't
see the standard defaults. While logic from a systempreference to be
able to "unset" the defaults is sound (an for power users), it is user
confusong for a non-tech person.
But I guess the point is to try to improve the baseline mapping 'out of the
box' (I'm just not sure it's worth the effort of writing code to try to figure
out the capabilities of the hardware you happen to be running on though).
I am not suggesting to write code to figure out if there is an extra key
or not. I don't even think this is feasible beyond testing (attach a new
keyboard to a Mac and it will ask you to press certain keys to see if
they exist...).
More some smart defaults... e.g. different priority in key and mouse
modifiers... or someething. I argue the current is not optimal.
Riccardo