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
=> More informations about this toot | More toots from farcaller@hdev.im
This also broke ctrl+clicking...
=> More informations about this toot | More toots from farcaller@hdev.im
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
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
text/gemini
This content has been proxied by September (3851b).