aboutsummaryrefslogtreecommitdiffstats
path: root/users/dshields/dshields.h
diff options
context:
space:
mode:
authorGravatar Daniel Shields <daniel.shields@bcs.org>2019-09-25 17:21:07 +0100
committerGravatar noroadsleft <18669334+noroadsleft@users.noreply.github.com>2019-09-25 09:21:07 -0700
commit00abe5d8edf801cad351bf428a24532ed80f652c (patch)
tree5afe96081a573c79cd8c41aa58fed26372e0fa5a /users/dshields/dshields.h
parent0f9e2659c96370377e36ddab0508498e151bfc62 (diff)
downloadqmk_firmware-00abe5d8edf801cad351bf428a24532ed80f652c.tar.gz
[Keymap] Various enhancements for dshields user space and keymaps. (#6816)
- Add oneshot mod/layer unlocking - Fix Planck rev 3 backlight breathing - Fix Planck rev 6 build with arm gcc 9.2.0 - General code clean up
Diffstat (limited to 'users/dshields/dshields.h')
-rw-r--r--users/dshields/dshields.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/users/dshields/dshields.h b/users/dshields/dshields.h
index c746e74fb..a65ccfea0 100644
--- a/users/dshields/dshields.h
+++ b/users/dshields/dshields.h
@@ -24,8 +24,18 @@
#ifdef KEYBOARD_planck_light
#define LGT_TOG RGB_TOG
#define LGT_MOD RGB_MOD
-#else
+ #define LGT_BRT _______
+#endif
+#ifdef KEYBOARD_planck_rev3
#define LGT_TOG BL_TOGG
#define LGT_MOD BL_STEP
+ #define LGT_BRT BL_BRTG
+#endif
+#ifdef KEYBOARD_planck_rev6
+ #define LGT_TOG _______
+ #define LGT_MOD _______
+ #define LGT_BRT _______
#endif
+enum layers { DEF, LWR, RSE, FUN };
+enum keycodes { DYNAMIC_MACRO_RANGE = SAFE_RANGE };