summaryrefslogtreecommitdiffstats
path: root/keyboards/s60-x/keymaps/felix/config.h
diff options
context:
space:
mode:
authorFelix Uhl <felix.uhl@outlook.de>2016-08-15 22:57:26 +0200
committerFelix Uhl <felix.uhl@outlook.de>2016-08-15 22:57:26 +0200
commitfaa3fd48aefb6b9386852b23eb433bafb413755b (patch)
tree613e26a477cd6337ab9e8e0d053d31ae7dce8f50 /keyboards/s60-x/keymaps/felix/config.h
parentdf01d502d4b531cc29b3277e093dcf3b63150647 (diff)
Minor changes to felix keymap
Diffstat (limited to 'keyboards/s60-x/keymaps/felix/config.h')
-rw-r--r--keyboards/s60-x/keymaps/felix/config.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/s60-x/keymaps/felix/config.h b/keyboards/s60-x/keymaps/felix/config.h
new file mode 100644
index 0000000000..6c01d579f8
--- /dev/null
+++ b/keyboards/s60-x/keymaps/felix/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