summaryrefslogtreecommitdiff
path: root/keyboards/s60-x/keymaps/ansi_qwertz/config.h
diff options
context:
space:
mode:
authorXyverz2016-08-19 22:50:55 -0700
committerXyverz2016-08-19 22:50:55 -0700
commit70d4ea7904ef6063b83b34985294a9b9e578be62 (patch)
treeb183763c85a581c7213cd2c247a9f30a75ee0576 /keyboards/s60-x/keymaps/ansi_qwertz/config.h
parente4984f65decbd005d147d29b56d7a0c7d7a8dafd (diff)
parenta3a312f8f4f4d836de494fe3502ea3175ba2a22c (diff)
Merge remote-tracking branch 'upstream/master'
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 000000000..6c01d579f
--- /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