summaryrefslogtreecommitdiff
path: root/keyboards/s60-x/keymaps/ansi_qwertz/config.h
diff options
context:
space:
mode:
authorFelix Uhl <felix.uhl@outlook.de>2016-08-18 10:01:46 +0200
committerFelix Uhl <felix.uhl@outlook.de>2016-08-18 10:01:46 +0200
commit07924511f33599267209b1f0d1ebddf400f7987d (patch)
tree440b32275bf9be4f1b6117be8d49d991343ac34c /keyboards/s60-x/keymaps/ansi_qwertz/config.h
parentfaa3fd48aefb6b9386852b23eb433bafb413755b (diff)
Small changes, renamed keymap
Added MicMute Revived all dead keys Removed OS Shift
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