mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-26 19:18:03 +06:00
426c03eda0
* add kbdmini, dztech and kbdfans keyboards small fix * Caps lock indicator moved from keymap * Update dz65rgb.c * fix error * fix matthewrobo keymap error * Update keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/dztech/dz60rgb/dz60rgb.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/dztech/dz60rgb_wkl/dz60rgb_wkl.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/dztech/dz65rgb/dz65rgb.c Co-Authored-By: fauxpark <fauxpark@gmail.com> * wrap all of the g_led_config stuff and rgb matrix functions in ifdefs wrap all of the g_led_config stuff and rgb matrix functions in ifdefs
42 lines
1.1 KiB
C
42 lines
1.1 KiB
C
#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
|
|
#ifdef BACKLIGHT_PIN
|
|
#define BACKLIGHT_BREATHING
|
|
#define BACKLIGHT_LEVELS 3
|
|
#endif
|
|
/* 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
|
|
|