summaryrefslogtreecommitdiffstats
path: root/keyboards/ergodash/rev2/keymaps/default/config.h
diff options
context:
space:
mode:
authoromkbd <takuya.electronics@gmail.com>2018-07-01 05:13:34 +0900
committerDrashna Jaelre <drashna@live.com>2018-06-30 13:13:34 -0700
commit87d9bb461ba65edf74b95a29617ff96389f223cc (patch)
tree63095d2f965058a43196be56658039bc6b5fc60e /keyboards/ergodash/rev2/keymaps/default/config.h
parent155375ea3267c90e006fa04fe78106ce3c5e7c9f (diff)
ErgoDash Hardware Update (#3269)
* Hardware update Backlight enable Change pin Add 2keys (68→70) * change readme * support rev1 change keymap path * move ergodash.h
Diffstat (limited to 'keyboards/ergodash/rev2/keymaps/default/config.h')
-rw-r--r--keyboards/ergodash/rev2/keymaps/default/config.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/keyboards/ergodash/rev2/keymaps/default/config.h b/keyboards/ergodash/rev2/keymaps/default/config.h
new file mode 100644
index 0000000000..7e7fe4f69a
--- /dev/null
+++ b/keyboards/ergodash/rev2/keymaps/default/config.h
@@ -0,0 +1,44 @@
+/*
+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
+
+#endif
+
+#undef RGBLED_NUM
+#define RGBLIGHT_ANIMATIONS
+#define RGBLED_NUM 24
+#define RGBLIGHT_HUE_STEP 10
+#define RGBLIGHT_SAT_STEP 17
+#define RGBLIGHT_VAL_STEP 17