Open-source keyboard firmware for Atmel AVR and Arm USB families
open sourceGPL-2.0-onlyself-hostablefree
QMK Firmware (Quantum Mechanical Keyboard) is open source firmware for custom and mechanical keyboards, a heavily modified fork of TMK that supports over 3,000 keyboards. It runs on USB-capable AVR and Arm microcontrollers (STM32, WestBerry WB32, Artery AT32, NXP Kinetis, RP2040) and GigaDevice's RISC-V GD32VF103, and keymaps are written in C or as JSON. Beyond remapping it has layers, tap-hold and mod-tap keys, tap dance, combos, macros, leader keys, mouse keys, split keyboards, encoders, RGB lighting and OLED displays. The project also ships the qmk CLI for building and flashing, QMK Configurator, a web app that builds firmware from a keymap without installing anything, and QMK Toolbox, a desktop flasher for Windows and macOS.
Problems it solves
- remap the keys on my mechanical keyboard and add layers beyond what the vendor software allows
- write my own firmware for a custom keyboard I hand-wired
- make a key act as Ctrl when held and Escape when tapped
- build firmware for my split ergonomic keyboard so both halves work together
- put a Pro Micro or RP2040 controller in my keyboard and have it work as a USB keyboard
- create a keymap in my browser and download firmware without setting up a build environment
- add macros, combos and tap dance to my keyboard that work on any computer without software installed
- control the RGB lighting, OLED screen and rotary encoders on my custom keyboard
- flash new firmware onto my keyboard from the command line on Linux
- port a new keyboard PCB design so people can build firmware for it
- use my keyboard as a mouse with keys for cursor movement and clicks
- type steno chords on my keyboard
Features
- supports over 3,000 keyboards
- layers, mod-tap and tap-hold keys
- tap dance, combos, leader keys and key overrides
- macros and dynamic macros
- split keyboards
- mouse keys and pointing devices
- rotary encoders
- RGB lighting, RGB matrix and LED matrix
- OLED and LCD displays
- autocorrect, caps word and auto shift
View 6 more
- MIDI, Unicode input and stenography
- qmk CLI to set up, compile and flash firmware (qmk setup, qmk compile, qmk flash)
- QMK Configurator web app that builds firmware from a keymap in the browser
- QMK Toolbox desktop app for flashing on Windows and macOS
- keymaps in C or JSON, keyboards configured in keyboard.json (data-driven configuration)
- bootloaders including Atmel DFU, Caterina, HalfKay, STM32 DFU, tinyuf2 and RP2040 UF2
Limitations
- Bluetooth works only on AVR chips with an add-on module: an RN-42 or Adafruit's Bluefruit LE SPI Friend1
Capabilities
| Has a command line tool | plan not known |
|---|
Forks
- Vial Open-source cross-platform GUI and QMK fork for configuring your keyboard in real time. Its own project.
Alternatives
The same job
These do what QMK Firmware does.
