summaryrefslogtreecommitdiff
path: root/keyboards/s60_x/keymaps/ansi_qwertz/config.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-04-30 10:48:17 -0400
committerJack Humbert <jack.humb@gmail.com>2017-04-30 10:48:17 -0400
commitd1d2b87f972c6d17b7ffcfe015f23eee26b60bdb (patch)
treebffcecd510fb29375330769403fab48bb48c9a33 /keyboards/s60_x/keymaps/ansi_qwertz/config.h
parent43aa59c703f47cad364e20dd9b1ca7b3842d743e (diff)
fixes s60_x keyboard
Diffstat (limited to 'keyboards/s60_x/keymaps/ansi_qwertz/config.h')
-rw-r--r--keyboards/s60_x/keymaps/ansi_qwertz/config.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/s60_x/keymaps/ansi_qwertz/config.h b/keyboards/s60_x/keymaps/ansi_qwertz/config.h
new file mode 100644
index 0000000000..6c01d579f8
--- /dev/null
+++ b/keyboards/s60_x/keymaps/ansi_qwertz/config.h
@@ -0,0 +1,14 @@
+#ifndef CONFIG_USER_H
+#define CONFIG_USER_H
+
+#include "../../config.h"
+
+// keymap needs oneshot functionality
+#undef NO_ACTION_ONESHOT
+
+#undef IS_COMMAND
+#define IS_COMMAND() ( \
+ keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
+)
+
+#endif \ No newline at end of file