this post was submitted on 24 Feb 2024
5 points (100.0% liked)

Keychron mechanical keyboards unofficial support

236 readers
1 users here now

Facebook : https://www.facebook.com/groups/Keychronlinux

founded 1 year ago
MODERATORS
 

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.

top 4 comments
sorted by: hot top controversial new old
[–] saigot@lemmy.ca 2 points 8 months ago (1 children)

I don't know much about keychron in particular (just passing through from local) but it looks QMK compatible, can you not just send KC_NUBS via the FW?

[–] Linkyu@lemmy.blahaj.zone 2 points 8 months ago

You are absolutely right; someone else on reddit explained it to me as well and yeah this is exactly the key that I was looking for. Thank you!

[–] al4s@feddit.de 1 points 8 months ago* (last edited 8 months ago) (1 children)

Same happened to me, initially I also tried to remap keys to make it work. I ended up switching my keyboard to the EurKey layout (ANSI with common European alternate characters) and just got used to it.

Edit: EurKey ships with Linux and is easy to install on Windows - not sure about MacOS; here's a link: https://eurkey.steffen.bruentjen.eu/

[–] Linkyu@lemmy.blahaj.zone 1 points 8 months ago

Ohhh so that's what EurKEY is. I had heard of it but from the website alone I couldn't understand what it did.

I don't really feel like changing an entire layout for just one key, but that would have been a pretty clean solution otherwise, yeah!