diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-04-30 10:48:17 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-04-30 10:48:17 -0400 |
commit | d1d2b87f972c6d17b7ffcfe015f23eee26b60bdb (patch) | |
tree | bffcecd510fb29375330769403fab48bb48c9a33 /keyboards/s60_x/default/config.h | |
parent | 43aa59c703f47cad364e20dd9b1ca7b3842d743e (diff) |
fixes s60_x keyboard
Diffstat (limited to 'keyboards/s60_x/default/config.h')
-rw-r--r-- | keyboards/s60_x/default/config.h | 25 |
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 |