diff options
Diffstat (limited to 'quantum/keymap.h')
-rw-r--r-- | quantum/keymap.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/quantum/keymap.h b/quantum/keymap.h index 73f99f8211..f2d94d75c3 100644 --- a/quantum/keymap.h +++ b/quantum/keymap.h @@ -157,6 +157,16 @@ enum quantum_keycodes { BL_TOGG, BL_STEP, + // RGB functionality + RGB_TOG, + RGB_MOD, + RGB_HUI, + RGB_HUD, + RGB_SAI, + RGB_SAD, + RGB_VAI, + RGB_VAD, + // Left shift, open paren KC_LSPO, @@ -299,7 +309,7 @@ enum quantum_keycodes { #define OSL(layer) (layer | QK_ONE_SHOT_LAYER) // One-shot mod -#define OSM(layer) (layer | QK_ONE_SHOT_MOD) +#define OSM(mod) (mod | QK_ONE_SHOT_MOD) // M-od, T-ap - 256 keycode max #define MT(mod, kc) (kc | QK_MOD_TAP | ((mod & 0xF) << 8)) |