diff options
author | TerryMathews <terry@terrymathews.net> | 2016-07-07 23:34:33 -0400 |
---|---|---|
committer | TerryMathews <terry@terrymathews.net> | 2016-07-07 23:34:33 -0400 |
commit | 50c686587ed49d8079ba1b11d45ceb6a55d6cd4b (patch) | |
tree | 73bddcd35f632004d615d69725f07ccfd7074007 /quantum/keymap.h | |
parent | e8719e10c4395102f8e252c8377e2f19a18ee74d (diff) | |
download | firmware-50c686587ed49d8079ba1b11d45ceb6a55d6cd4b.tar.gz firmware-50c686587ed49d8079ba1b11d45ceb6a55d6cd4b.tar.bz2 firmware-50c686587ed49d8079ba1b11d45ceb6a55d6cd4b.zip |
Create keycodes for RGB control functions
Moves RGB controls out of the macro function and assigns them their own
keycodes:
RGB_TOG (toggle on/off)
RGB_MOD (mode step)
RGB_HUI (increase hue)
RGB_HUD (decrease hue)
RGB_SAI (increase saturation)
RGB_SAD (decrease saturation)
RGB_VAI (increase brightness)
RGB_VAD (decrease brightness)
Diffstat (limited to 'quantum/keymap.h')
-rw-r--r-- | quantum/keymap.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/quantum/keymap.h b/quantum/keymap.h index 73f99f821..a15865183 100644 --- a/quantum/keymap.h +++ b/quantum/keymap.h @@ -156,6 +156,16 @@ enum quantum_keycodes { BL_INC, 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, |