summaryrefslogtreecommitdiff
path: root/keyboards/dp60/keymaps/indicator/config.h
diff options
context:
space:
mode:
authoryulei <yuleiz@gmail.com>2020-11-06 13:36:04 +0800
committerGitHub <noreply@github.com>2020-11-05 21:36:04 -0800
commitd7c90d805f414198a44d1b714363721df38950d6 (patch)
tree59272ae6712596bd5fb81d7d79e343681456a512 /keyboards/dp60/keymaps/indicator/config.h
parent5f2c4349543e06821d3c0b724f36e12767a04e54 (diff)
add dp60 indicator mode (#8801)
* add dp60 indicator mode * update according to #7720 * added license header and move the ws2812 codes to a seperate c file * fixed conflict with master
Diffstat (limited to 'keyboards/dp60/keymaps/indicator/config.h')
-rw-r--r--keyboards/dp60/keymaps/indicator/config.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/dp60/keymaps/indicator/config.h b/keyboards/dp60/keymaps/indicator/config.h
new file mode 100644
index 0000000000..0476faca94
--- /dev/null
+++ b/keyboards/dp60/keymaps/indicator/config.h
@@ -0,0 +1,25 @@
+/**
+ * config.h
+ *
+ Copyright 2020 astro <yuleiz@gmail.com>
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 2 of the License, or
+ (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#pragma once
+
+#include "config_common.h"
+
+#define RGB_INDICATOR_NUM 8
+#undef RGBLED_NUM
+#define RGBLED_NUM (18+RGB_INDICATOR_NUM)
+
+#define RGB_INDICATOR_PIN B1
+#define RGBLIGHT_LAYERS