summaryrefslogtreecommitdiffstats
path: root/keyboards/ergo42/keymaps/default-underglow/config.h
diff options
context:
space:
mode:
authorBiacco42 <secondimpact_2000@yahoo.co.jp>2018-07-20 18:05:45 +0200
committerDrashna Jaelre <drashna@live.com>2018-07-20 18:05:45 +0200
commitd21b287e7d08484c95f0df2e34213d237a62806e (patch)
tree70d7eed56579c3f273597a5bd76b5510c4eaac31 /keyboards/ergo42/keymaps/default-underglow/config.h
parentc50e80e13be5e34505f38eab31374ed2cee31da4 (diff)
downloadqmk_firmware-d21b287e7d08484c95f0df2e34213d237a62806e.tar.gz
qmk_firmware-d21b287e7d08484c95f0df2e34213d237a62806e.tar.xz
Keymap: Underglow support for Ergo42 default-ish keymap (#3431)
* Transprot underglow implementation to default map * Remove needless old lines
Diffstat (limited to 'keyboards/ergo42/keymaps/default-underglow/config.h')
-rw-r--r--keyboards/ergo42/keymaps/default-underglow/config.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/keyboards/ergo42/keymaps/default-underglow/config.h b/keyboards/ergo42/keymaps/default-underglow/config.h
new file mode 100644
index 000000000..bc80be306
--- /dev/null
+++ b/keyboards/ergo42/keymaps/default-underglow/config.h
@@ -0,0 +1,43 @@
+/*
+This is the c configuration file for the keymap
+
+Copyright 2012 Jun Wako <wakojun@gmail.com>
+Copyright 2015 Jack Humbert
+
+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/>.
+*/
+
+#ifndef CONFIG_USER_H
+#define CONFIG_USER_H
+
+#include "../../config.h"
+
+/* Use I2C or Serial, not both */
+
+#define USE_SERIAL
+// #define USE_I2C
+
+/* Select hand configuration */
+
+#define MASTER_LEFT
+// #define MASTER_RIGHT
+// #define EE_HANDS
+
+// Underglow
+#undef RGBLED_NUM
+#define RGBLED_NUM 14 // Number of LEDs
+#define RGBLIGHT_ANIMATIONS
+#define RGBLIGHT_SLEEP
+
+#endif