QMK Any (or How to Setup a Custom Quantum Keycode)
I mentioned previously that I am huge fan of the QMK Firmware.
For most customizations, you can use the online configurator to make your changes right in the browser.
I have been using a keyboard with a HHKB layout the last couple of weeks. After a bit of trial and error I settled on the following basic layout:
- Bottom Row: Control - Command - Spacebar - Alt - Control
- Caplock - MO(2) (essentially Function2)
- Function - MO(1)
This has been working really well for me, with one notable issue - Command + Alt is awkward. This is evident when trying to debug something in a browser. For years, I have been trained to Command+Alt+I to open up the developer console and related tools in every browser.
In the configurator, there is a tab labeled Quantum
Quantum keycodes allow for easier customization of your keymap than the basic ones provide, without having to define custom actions.
There are built in keycodes for many modifier combinations (like Hyper, Meh, etc). However, Alt + Command was missing.
Unable to find an answer, I hopped on the QMK discord and was told that you can use the Any key to add a custom keycode (Thanks fauxpar!).
Armed with this, I changed the keycode for the letter I on Layer 2 to Any with the following:
We have lift off!