]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/smk60/config.h
[Keyboard] add 60% pcb for the smk 2nd switch(with mx mount) (#5928)
[qmk_firmware.git] / keyboards / smk60 / config.h
1 /**
2  * config.h
3  *
4  */
5 #pragma once
6
7 #include "config_common.h"
8
9 /* USB Device descriptor parameter */
10 #define VENDOR_ID       0xDEAD
11 #define PRODUCT_ID      0x6585
12 #define DEVICE_VER      0x0001
13 #define MANUFACTURER    astro
14 #define PRODUCT         smk 60
15 #define DESCRIPTION     60% keyboard for smk switch
16
17 /* key matrix size */
18 #define MATRIX_ROWS 5
19 #define MATRIX_COLS 15
20 /* key matrix pins */
21 #define MATRIX_ROW_PINS { B0, F0, F1, F5, B2 }
22 #define MATRIX_COL_PINS { B4, B5, B6, C6, C7, F6, F7, F4, B1, B3, D0, D1, D2, D3, D5}
23 #define UNUSED_PINS
24 #define DIODE_DIRECTION COL2ROW
25
26 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
27 #define DEBOUNCE 5
28
29 /*
30  * Feature disable options
31  *  These options are also useful to firmware size reduction.
32  */
33
34 /* disable debug print */
35 //#define NO_DEBUG
36
37 /* disable print */
38 //#define NO_PRINT
39
40 /* disable action features */
41 //#define NO_ACTION_LAYER
42 //#define NO_ACTION_TAPPING
43 //#define NO_ACTION_ONESHOT
44 //#define NO_ACTION_MACRO
45 //#define NO_ACTION_FUNCTION
46
47 //rgb light setting
48 #define RGBLED_NUM      4
49 #define RGB_DI_PIN      E6
50 #define RGBLIGHT_ANIMATIONS
51 #define RGBLIGHT_HUE_STEP 8
52 #define RGBLIGHT_SAT_STEP 8
53 #define RGBLIGHT_VAL_STEP 8