From d1d2b87f972c6d17b7ffcfe015f23eee26b60bdb Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Sun, 30 Apr 2017 10:48:17 -0400 Subject: fixes s60_x keyboard --- keyboards/s60_x/keymaps/ansi_qwertz/config.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 keyboards/s60_x/keymaps/ansi_qwertz/config.h (limited to 'keyboards/s60_x/keymaps/ansi_qwertz/config.h') 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 -- cgit v1.2.3