TL,DR: How do I swap "<" and "²" on an AZERTY keyboard ?
Context
I'm running macOS Ventura 13.0.1. I have an MS Natural Keyboard 4000 with an AZERTY layout. The physical key at the right of the left-most Shift has a "<" and a ">" sign printed on it. The physical key at the top of the left Tab key has a "²" printed on it. For some reason, pressing the key with a "<" displays a "²", and vice-versa. I would like to swap the keys.
Attempts
Apparently, there is no built-in way to do that in macOS Ventura 13.0.1, so I installed Karabiner-Elements which advertises as an application to do just that.
I was hoping that following the Configure Simple Notification documentation would help; unfortunately, I cannot find any keys in the Add item list that matches the "<" key. (I was hoping for any "lower_than", "less_than", "left_xxxx" key but cannot find them in the list.)
I then switched to Configure Complex Modifications, which opens a browser to lookup a rule; however, none of the rules seem to match (and it does not seem like searching for "<" is supposed to help.)
Next steps ?
Am I just missing the name of the "<" key in plain sight? Do I need to configure Karabiner to expose keys for AZERTY keyboards? Is it a specific issue with this keyboard? Should I manually edit the ~/.config/karabiner/karabiner.json
, and in which case, which section should I change, to which value?
LESS-THAN SIGN
Unicode U+003C. I can't help with Karabiner, but this might be an easy job for Ukelelenon_us_backslash
, which is not the key I want to rebind. (I have another key on my keyboard with a backslash on it, and I'm not using a US keyboard.) But for some reason, it works.