summaryrefslogtreecommitdiffstats
path: root/keyboards/s60-x/default/config.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-04-25 14:09:41 -0400
committerGitHub <noreply@github.com>2017-04-25 14:09:41 -0400
commit7bd4559b4b8f323107de46ebf90d31bfa9880e78 (patch)
tree6ee4f42efbee53f956da420468529fbc9913e92b /keyboards/s60-x/default/config.h
parent9fa7a788d3147a5a34c5cb64cb73e8df2093a795 (diff)
parent215dd126d08b29939c53bf0eaa006ce6ecdedb83 (diff)
Merge pull request #1231 from Dbroqua/master
S60-X RGB support
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 0000000000..436c6fa8b6
--- /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