mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-28 03:59:33 +06:00
11 lines
610 B
Markdown
11 lines
610 B
Markdown
|
|
||
|
# Custom Keycodes
|
||
|
|
||
|
Keycodes are defined in the drashna.h file and need to be included in the keymap.c files, so that they can be used there.
|
||
|
|
||
|
A bunch of macros are present and are only included on boards that are not the Ergodox EZ or Orthodox, as they are not needed for those boards.
|
||
|
|
||
|
Included is a custom macro for compiling my keyboards. This includes the bootloader target (`:teensy`, `:avrdude`, or `:dfu`), and keeps RGBLIGHT, AUDIO and/or FAUXCLICKY enabled, if it previously was (regardless of the rules file).
|
||
|
|
||
|
This also includes a modified RESET keycode as well, that sets the underglow to red.
|