summaryrefslogtreecommitdiffstats
path: root/users/wanleg/config.h
diff options
context:
space:
mode:
authorwanleg <32079073+wanleg@users.noreply.github.com>2018-08-18 01:11:21 +0200
committerDrashna Jaelre <drashna@live.com>2018-08-18 01:11:21 +0200
commit9175eebc8796f31a481ba16b1ca2ba9e4432502e (patch)
treefe799b4792343343351be2dd3cc84715c3ffaafc /users/wanleg/config.h
parent8007d9f3a7583adeedd26fa7ab1622e06fed8034 (diff)
downloadqmk_firmware-9175eebc8796f31a481ba16b1ca2ba9e4432502e.tar.gz
qmk_firmware-9175eebc8796f31a481ba16b1ca2ba9e4432502e.tar.xz
Keymap: Wanleg userspace (#3670)
* configure wanleg userspace * additional layout support * additional layout support * userspace edits * fix swap hands between 30 and 40 percent * add additional keymaps * userspace edits * userspace configuration * userspace configuration * Update readme.md * userspace work * swap hands userspace fix * made requested edits * Update readme.md * use relative paths instead of copying file * Update wanleg.h * fixing layer order
Diffstat (limited to 'users/wanleg/config.h')
-rw-r--r--users/wanleg/config.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/users/wanleg/config.h b/users/wanleg/config.h
new file mode 100644
index 000000000..22073449b
--- /dev/null
+++ b/users/wanleg/config.h
@@ -0,0 +1,32 @@
+#ifndef USERSPACE_CONFIG_H
+#define USERSPACE_CONFIG_H
+
+#define PREVENT_STUCK_MODIFIERS
+
+//TAPPING_TERM
+#ifdef TAP_DANCE_ENABLE
+#define TAPPING_TERM 200
+#endif
+
+//Mousekey Settings
+#ifdef MOUSEKEY_ENABLE
+#define MOUSEKEY_INTERVAL 16
+#define MOUSEKEY_DELAY 0
+#define MOUSEKEY_TIME_TO_MAX 60
+#define MOUSEKEY_MAX_SPEED 7
+#define MOUSEKEY_WHEEL_DELAY 0
+#endif
+
+// Disable action_get_macro and fn_actions, since we don't use these
+// and it saves on space in the firmware.
+#ifndef NO_DEBUG
+#define NO_DEBUG
+#endif // !NO_DEBUG
+#if !defined(NO_PRINT) && !defined(CONSOLE_ENABLE)
+#define NO_PRINT
+#endif // !NO_PRINT
+#define NO_ACTION_MACRO
+#define NO_ACTION_FUNCTION
+#define NO_ACTION_ONESHOT
+
+#endif // !USERSPACE_CONFIG_H