Add hid_protocol.h defining a shared 32-byte packet structure for the qmk-host bridge application (command IDs 0x40-0x7E, clear of VIA's range). Implement via_command_kb() in keymap.c to intercept incoming packets: LAYER_SYNC applies a new active layer, VOLUME and BRIGHTNESS store host-reported values for future RGB indicators, and ACTIVE_APP is stubbed for a later commit. Layer state changes are broadcast to the host via raw_hid_send() from layer_state_set_user(), guarded by g_hid_recv_active to prevent echo loops when the change itself originated from HID.
Quantum Mechanical Keyboard Firmware
This is a keyboard firmware based on the tmk_keyboard firmware with some useful features for Atmel AVR and ARM controllers, and more specifically, the OLKB product line, the ErgoDox EZ keyboard, and the Clueboard product line.
Documentation
The docs are powered by Docsify and hosted on GitHub. They are also viewable offline; see Previewing the Documentation for more details.
You can request changes by making a fork and opening a pull request, or by clicking the "Edit this page" link at the bottom of any page.
Supported Keyboards
The project also includes community support for lots of other keyboards.
Maintainers
QMK is developed and maintained by Jack Humbert of OLKB with contributions from the community, and of course, Hasu. The OLKB product firmwares are maintained by Jack Humbert, the Ergodox EZ by ZSA Technology Labs, the Clueboard by Zach White, and the Atreus by Phil Hagelberg.
Official Website
qmk.fm is the official website of QMK, where you can find links to this page, the documentation, and the keyboards supported by QMK.