summaryrefslogtreecommitdiff
path: root/users/dshields/dshields.h
diff options
context:
space:
mode:
authorDaniel Shields <1530706+shieldsd@users.noreply.github.com>2019-11-04 21:47:52 +0000
committerDrashna Jaelre <drashna@live.com>2019-11-04 13:47:52 -0800
commit511fa5f8156b188c591ee760b7d246939c260451 (patch)
tree7ccd36fe39056f2921b6d4189d3454261fb55e1b /users/dshields/dshields.h
parenta510e5212b32a1150a11670358fc8fe309ab1f09 (diff)
downloadqmk_firmware-511fa5f8156b188c591ee760b7d246939c260451.tar.gz
qmk_firmware-511fa5f8156b188c591ee760b7d246939c260451.zip
[Keymap] Add new LED/RGB key codes (#7254)
Diffstat (limited to 'users/dshields/dshields.h')
-rw-r--r--users/dshields/dshields.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/users/dshields/dshields.h b/users/dshields/dshields.h
index a65ccfea00..d8f76e8c00 100644
--- a/users/dshields/dshields.h
+++ b/users/dshields/dshields.h
@@ -21,20 +21,27 @@
// mod-tap keys
#define MT_SPC SFT_T(KC_SPC)
+// LED/RGB controls
#ifdef KEYBOARD_planck_light
#define LGT_TOG RGB_TOG
#define LGT_MOD RGB_MOD
#define LGT_BRT _______
+ #define LGT_INC RGB_HUI
+ #define LGT_DEC RGB_HUD
#endif
#ifdef KEYBOARD_planck_rev3
#define LGT_TOG BL_TOGG
#define LGT_MOD BL_STEP
#define LGT_BRT BL_BRTG
+ #define LGT_INC BL_INC
+ #define LGT_DEC BL_DEC
#endif
#ifdef KEYBOARD_planck_rev6
#define LGT_TOG _______
#define LGT_MOD _______
#define LGT_BRT _______
+ #define LGT_INC _______
+ #define LGT_DEC _______
#endif
enum layers { DEF, LWR, RSE, FUN };