[SOLVED] How to map angle brackets (< & >) to an ANSI V6 on AZERTY - eviltoast

I bought a V6 and I’m happy with it, but I did not realize it was ANSI and not ISO (or rather, I think I did not realize what it meant until assembly).

That said, I’m a programmer and I need the angle brackets easily accessible. Luckily, in the AZERTY mapping of the ANSI-104 layout, there’s a key above Enter that is virtually useless to me as is (shown here as */μ). This is where KC_BACKSLASH would be on the QWERTY mapping.

However, I have been absolutely unable to find a normal way to remap it to both brackets (a key that exists in ISO but not in ANSI).

Here’s ideally what I want:

  • Pressing [this */µ key] gives me <
  • Pressing SHIFT + [this */µ key] with Shift gives me >

Here’s what I have tried so far:

  • Microsoft’s Mouse and Keyboard tool: doesn’t recognize non-microsoft keyboards
  • Microsoft’s Powertoys tool: doesn’t allow 2 shortcuts on the same key
  • VIA: can only remap to ANSI keys
  • VIAL: doesn’t even recognize the device as-is, and throws a protocol error when sideloading the JSON.
  • AHK: not ideal but yeah it works

I’ve only been able to make it work through AutoHotKey. I feel like VIA/L should be the normal solution here, but if so, I have not found how to make it work.

Was there a cleaner way?

EDIT: I was wrong, the “<>” key I was looking for does exist, and as u/PeterMortensenBlog on reddit and @saigot@lemmy.ca here pointed out, it is simply KC_NONUS_BACKSLASH, abbreviated NUBS in VIA.