summaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox/ergodone/config.h
diff options
context:
space:
mode:
authorYu He <yuhe00@gmail.com>2017-08-12 16:05:05 +0200
committerJack Humbert <jack.humb@gmail.com>2017-08-16 23:31:12 +0200
commit52f4a38cb39e3640e0479b794815eae38a49f503 (patch)
treede79702f626281ee44f68c6c543db750e09c55de /keyboards/ergodox/ergodone/config.h
parentf02430b131961e97e06a8f57719f48fdbe4a2fe8 (diff)
downloadqmk_firmware-52f4a38cb39e3640e0479b794815eae38a49f503.tar.gz
qmk_firmware-52f4a38cb39e3640e0479b794815eae38a49f503.tar.xz
Add support for the ErgoDone
Diffstat (limited to 'keyboards/ergodox/ergodone/config.h')
-rw-r--r--keyboards/ergodox/ergodone/config.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/keyboards/ergodox/ergodone/config.h b/keyboards/ergodox/ergodone/config.h
new file mode 100644
index 000000000..80ff47f66
--- /dev/null
+++ b/keyboards/ergodox/ergodone/config.h
@@ -0,0 +1,49 @@
+#ifndef ERGODOX_ERGODONE_CONFIG_H
+#define ERGODOX_ERGODONE_CONFIG_H
+
+#include "../config.h"
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xFEED
+#define PRODUCT_ID 0x1307
+#define DEVICE_VER 0x0001
+#define MANUFACTURER ErgoDone
+#define PRODUCT ErgoDone
+#define DESCRIPTION QMK keyboard firmware for ErgoDone
+
+/* key matrix size */
+#define MATRIX_ROWS 6
+#define MATRIX_COLS 14
+
+/* fix space cadet rollover issue */
+#define DISABLE_SPACE_CADET_ROLLOVER
+
+/* Set 0 if debouncing isn't needed */
+#define DEBOUNCE 5
+
+#define PREVENT_STUCK_MODIFIERS
+
+#define USB_MAX_POWER_CONSUMPTION 500
+
+/*
+ * Feature disable options
+ * These options are also useful to firmware size reduction.
+ */
+
+/* disable debug print */
+// #define NO_DEBUG
+
+/* disable print */
+// #define NO_PRINT
+
+/* disable action features */
+//#define NO_ACTION_LAYER
+//#define NO_ACTION_TAPPING
+//#define NO_ACTION_ONESHOT
+//#define NO_ACTION_MACRO
+//#define NO_ACTION_FUNCTION
+//#define DEBUG_MATRIX_SCAN_RATE
+
+#endif