aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox/config.h
diff options
context:
space:
mode:
authorGravatar Fred Sundvik <fsundvik@gmail.com>2016-07-09 11:26:15 +0300
committerGravatar Fred Sundvik <fsundvik@gmail.com>2016-07-29 20:48:22 +0300
commite7670f6d19639ba2a0cead228cc58ff58eef5a60 (patch)
treee09704f3bbb7d709f4752b51ac2cffcbe325b362 /keyboards/ergodox/config.h
parente0f28c2b1068d8cd218e1450dea97fde946ba87a (diff)
downloadqmk_firmware-e7670f6d19639ba2a0cead228cc58ff58eef5a60.tar.gz
Move some of the Ergodox config settings to shared
Diffstat (limited to 'keyboards/ergodox/config.h')
-rw-r--r--keyboards/ergodox/config.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/keyboards/ergodox/config.h b/keyboards/ergodox/config.h
index c37c10e93..edc60caae 100644
--- a/keyboards/ergodox/config.h
+++ b/keyboards/ergodox/config.h
@@ -1,6 +1,30 @@
#ifndef KEYBOARDS_ERGODOX_CONFIG_H_
#define KEYBOARDS_ERGODOX_CONFIG_H_
+#define MOUSEKEY_DELAY 100
+#define MOUSEKEY_INTERVAL 20
+#define MOUSEKEY_MAX_SPEED 3
+#define MOUSEKEY_TIME_TO_MAX 10
+
+#define TAPPING_TOGGLE 1
+
+/* define if matrix has ghost */
+//#define MATRIX_HAS_GHOST
+
+#define TAPPING_TERM 200
+#define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
+
+/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
+#define LOCKING_SUPPORT_ENABLE
+/* Locking resynchronize hack */
+#define LOCKING_RESYNC_ENABLE
+
+/* key combination for command */
+#define IS_COMMAND() ( \
+ keyboard_report->mods == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
+ keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
+)
+
#ifdef SUBPROJECT_ez
#include "ez/config.h"
#endif