diff options
author | moyi4681 <moyi4681@users.noreply.github.com> | 2019-10-31 14:00:46 +0800 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-10-30 23:00:46 -0700 |
commit | 934fa5183e95ad98e2e744c48e524308e940f799 (patch) | |
tree | 06a9f2f7886becea92f6344d30fd47149e7030d3 /keyboards/xbows/knight/config.h | |
parent | 74252e03cfd2ee3d7ba823fb4c3ce522f43e79a0 (diff) |
[Keyboard] add xbows woody and knight keyboards (#7112)
* add xbows knight and woody keyboards
add xbows knight and woody keyboards
* Update rules.mk
* Update keyboards/xbows/knight/readme.md
Co-Authored-By: MechMerlin <30334081+mechmerlin@users.noreply.github.com>
* Update knight.c
* Update keyboards/xbows/knight/keymaps/default/keymap.c
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/xbows/knight/readme.md
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/xbows/knight/rules.mk
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/xbows/knight/rules.mk
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/xbows/woody/readme.md
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/xbows/knight/rules.mk
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update rules.mk
* Update keymap.c
* Update keyboards/xbows/woody/rules.mk
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Update keyboards/xbows/knight/keymaps/default/keymap.c
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Update keymap.c
* Update keyboards/xbows/knight/readme.md
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/xbows/knight/rules.mk
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/xbows/woody/rules.mk
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/xbows/woody/rules.mk
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'keyboards/xbows/knight/config.h')
-rw-r--r-- | keyboards/xbows/knight/config.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/keyboards/xbows/knight/config.h b/keyboards/xbows/knight/config.h new file mode 100644 index 0000000000..6dc32db48e --- /dev/null +++ b/keyboards/xbows/knight/config.h @@ -0,0 +1,39 @@ +#pragma once +#include "config_common.h" +#define VENDOR_ID 0xFEED +#define PRODUCT_ID 0x1225 +#define DEVICE_VER 0x0001 +#define MANUFACTURER X-BOWS +#define PRODUCT KNIGHT +#define DESCRIPTION XBOWS SPLIT keyboard + +/* key matrix size */ +// Rows are doubled-up +#define MATRIX_ROWS 12 +#define MATRIX_COLS 15 + +// wiring of each half +#define MATRIX_ROW_PINS { D2, E6, C7, F7, F6, F5 } +#define MATRIX_COL_PINS { B0, B1, B2, B3, F4, F1, C6, B6, B5, B4, D7, D6, D4, D5, D3} +/* COL2ROW or ROW2COL */ +#define DIODE_DIRECTION COL2ROW + +/* define if matrix has ghost */ +//#define MATRIX_HAS_GHOST + +/* number of backlight levels */ +// #define BACKLIGHT_LEVELS 3 +#define BACKLIGHT_PIN B7 +#define BACKLIGHT_BREATHING +#define BACKLIGHT_LEVELS 3 +/* Set 0 if debouncing isn't needed */ +#define DEBOUNCE 5 + +/* serial.c configuration for split keyboard */ +#define SOFT_SERIAL_PIN D0 +/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ +#define SPLIT_HAND_PIN F0 +#define LOCKING_SUPPORT_ENABLE +/* Locking resynchronize hack */ +#define LOCKING_RESYNC_ENABLE + |