The menus always show the physical key (not the role). So in default mode they currently show Alt and in “Windows” mode they show Ctrl. This was already the case in BeOS and is the case also in Haiku.
No one is advocating disabling the ability to allow changing modifier key mappings. It seems to me that you are trying to muddy the argument clinging to wordings.
It was just a misunderstanding. I was confused and so I said confusing things. I was not aware of the options in the “File” menu.
So, yes, the other OS don’t want to name their competitors. I think we’re fine with that.
You are also correct that the “Windows” mode is not quite identical to Windows. The main shortcuts are with the Ctrl key, but, for example, Ctrl+C in Terminal won’t work as in Windows. But, is that really the part that’s confusing here? I don’t think I saw anyone complain about this specific problem. We have bigger issues to fix, I think?
The button is nice because it provides a standard setup for the keys that we can still provide support for. If the official way to do things is “figure out the settings for each key on your own, and if youget it wrong, no one will be able to help you because no one knows how you have configured them”, this is not a great solution. That’s why there is a simple button to switch between two officially supported settings. I am fine with rewording it if people think calling the modes “Apple” and “Windows” is too confusing.
There is, we can easily get the USB vendor ID from the keyboard and know if it is an Apple one. And we can probably add a few vendor/device IDs for other manufacturers who may have built Apple-style keyboards. Someone just has to write the code to do that.
However, it will solve the other issue. On Mac keyboards, the OPTION and COMMAND keys are physically swapped. But our button is to switch the CONTROL and COMMAND keys. Which means there are actually 4 possible cases:
- Using Apple style shortcuts with an Apple keyboard
- Using Apple style shortcuts with a PC keyboard
- Using Windows style shortcuts with an Apple keyboard
- Using Windows style shortcuts with a PC keyboard
I think we should solve the Apple vs PC layouts at a level below the keymap. The unmapped keycodes should always be in the order defined in the Be Book and Haiku Book: The Haiku Book: Keyboard
- Leftmost key is 0x55
- Second key is 0x66
- Third key is 0x5d
This could be handled by the input_server, for example. Once we have this sane base of knowing where the key that the user pressed is located, we can build the upper layers on top of that sane fundation.