Ancestors

Written by farcaller on 2025-01-12 at 19:54

This little trick costed me a move-one-word-to-the-left.

But here's what it does! If the keyboard is connected to a windows PC, and there's a pending press on the CMD (meaning it's held down but not reported to the OS yet), then don't report it and instead send HOME.

This allows CMD to behave like CMD on a mac, like CTRL on a PC, and also all CMD+XX keys work as CTRL+XX, unless it's CMD+LEFT, which is HOME. CMD+SHIFT+LEFT also works and become SHIFT+HOME.

Now I just need to do the same for CTRL to return CTRL+arrows.

[#]keychron #qmk

=> View attached media

=> More informations about this toot | More toots from farcaller@hdev.im

Written by farcaller on 2025-01-12 at 20:14

This also broke ctrl+clicking...

=> More informations about this toot | More toots from farcaller@hdev.im

Toot

Written by farcaller on 2025-01-12 at 20:47

Fixed ctrl+clicking, bricked the whole keyboard, huh.

Apparently KEY_OVERRIDE_ENABLE somehow breaks it all.

=> More informations about this toot | More toots from farcaller@hdev.im

Descendants

Written by farcaller on 2025-01-12 at 21:07

And of course you can't just remap alt+arrows to ctrl+arrows because #qmk's remapper turns that into hold-alt, release-alt, hold-ctrl, left, release-ctrl.

Which, on windows, gets you into the menu bar because you just have tapped alt.

=> More informations about this toot | More toots from farcaller@hdev.im

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113817344436041099
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
264.036379 milliseconds
Gemini-to-HTML Time
1.280988 milliseconds

This content has been proxied by September (3851b).