summaryrefslogtreecommitdiffstats
path: root/quantum/quantum_keycodes.h
diff options
context:
space:
mode:
authorSebastian Kaim <sebb@sebb767.de>2017-10-24 23:17:47 +0200
committerJack Humbert <jack.humb@gmail.com>2017-10-25 05:02:20 +0200
commit1f4349592277e6a61e643947665c8b026b7700ed (patch)
treed4374e8deb6d268357bb5c22684b71c4445c75e2 /quantum/quantum_keycodes.h
parent21dfa29c28b8257116b2f1c0b4524c4062658598 (diff)
downloadqmk_firmware-1f4349592277e6a61e643947665c8b026b7700ed.tar.gz
qmk_firmware-1f4349592277e6a61e643947665c8b026b7700ed.tar.xz
Added a new keycode for cycling through RBG modes which reverses directions when shift is hold.
This commit adds a new keycode `RGB_SMOD` which is the same as `RGB_MOD` (cycle through all modes), but when it is used in combination with shift it will reverse the direction.
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r--quantum/quantum_keycodes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index 212fdc67d..c3c5f1656 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -400,6 +400,7 @@ enum quantum_keycodes {
// RGB functionality
RGB_TOG,
RGB_MOD,
+ RGB_SMOD,
RGB_HUI,
RGB_HUD,
RGB_SAI,