summaryrefslogtreecommitdiff
path: root/keyboards/keebio/bdn9/keymaps/bcat/keymap.c
diff options
context:
space:
mode:
authorDanny <nooges@users.noreply.github.com>2020-06-09 22:32:46 -0400
committerGitHub <noreply@github.com>2020-06-09 22:32:46 -0400
commit184c362324171a77e108fe29058fa51c438d04b4 (patch)
tree8fcd9671b5a1e5bbfa513f0eb0599ed5ee9afab7 /keyboards/keebio/bdn9/keymaps/bcat/keymap.c
parent1d1c0503b669abcf8c059a5962e6819b1376a885 (diff)
Add BDN9 rev2 (#9017)
Diffstat (limited to 'keyboards/keebio/bdn9/keymaps/bcat/keymap.c')
-rw-r--r--keyboards/keebio/bdn9/keymaps/bcat/keymap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/keebio/bdn9/keymaps/bcat/keymap.c b/keyboards/keebio/bdn9/keymaps/bcat/keymap.c
index 05d324034c..41246ba7d9 100644
--- a/keyboards/keebio/bdn9/keymaps/bcat/keymap.c
+++ b/keyboards/keebio/bdn9/keymaps/bcat/keymap.c
@@ -31,9 +31,13 @@ void encoder_update_user(uint8_t index, bool clockwise) {
/* Top-right encoder (backlight brightness) */
case 1:
if (clockwise) {
+#ifdef BACKLIGHT_ENABLE
backlight_increase();
+#endif
} else {
+#ifdef BACKLIGHT_ENABLE
backlight_decrease();
+#endif
}
break;
}