summaryrefslogtreecommitdiffstats
path: root/keyboards/s60-x/keymaps/ansi_qwertz/config.h
diff options
context:
space:
mode:
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