summaryrefslogtreecommitdiffstats
path: root/quantum/keymap.h
diff options
context:
space:
mode:
authorTerryMathews <terry@terrymathews.net>2016-07-07 23:34:33 -0400
committerTerryMathews <terry@terrymathews.net>2016-07-07 23:34:33 -0400
commit50c686587ed49d8079ba1b11d45ceb6a55d6cd4b (patch)
tree73bddcd35f632004d615d69725f07ccfd7074007 /quantum/keymap.h
parente8719e10c4395102f8e252c8377e2f19a18ee74d (diff)
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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/quantum/keymap.h b/quantum/keymap.h
index 73f99f8211..a158651839 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,