aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/s60_x/default/config.h
diff options
context:
space:
mode:
authorGravatar Jack Humbert <jack.humb@gmail.com>2017-04-30 10:48:17 -0400
committerGravatar Jack Humbert <jack.humb@gmail.com>2017-04-30 10:48:17 -0400
commitd1d2b87f972c6d17b7ffcfe015f23eee26b60bdb (patch)
treebffcecd510fb29375330769403fab48bb48c9a33 /keyboards/s60_x/default/config.h
parent43aa59c703f47cad364e20dd9b1ca7b3842d743e (diff)
downloadqmk_firmware-d1d2b87f972c6d17b7ffcfe015f23eee26b60bdb.tar.gz
fixes s60_x keyboard
Diffstat (limited to 'keyboards/s60_x/default/config.h')
-rw-r--r--keyboards/s60_x/default/config.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/s60_x/default/config.h b/keyboards/s60_x/default/config.h
new file mode 100644
index 000000000..436c6fa8b
--- /dev/null
+++ b/keyboards/s60_x/default/config.h
@@ -0,0 +1,25 @@
+#ifndef DEFAULT_CONFIG_H
+#define DEFAULT_CONFIG_H
+
+#include "../config.h"
+
+#define PRODUCT S60-X
+#define DESCRIPTION q.m.k. keyboard firmware for S60-X
+
+#define MATRIX_ROW_PINS { B7, B3, B2, B1, B0 }
+#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, E6, F1 }
+#define UNUSED_PINS { F0 }
+
+#define LOCKING_SUPPORT_ENABLE
+#define LOCKING_RESYNC_ENABLE
+
+/* key combination for magic key command */
+#define IS_COMMAND() ( \
+ keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
+)
+
+#define NO_ACTION_ONESHOT
+#define NO_ACTION_MACRO
+#define NO_ACTION_FUNCTION
+
+#endif