Commit | Line | Data |
---|---|---|
08210b3a Y |
1 | #ifndef CONFIG_H |
2 | #define CONFIG_H | |
3 | ||
4 | #include "config_common.h" | |
5 | ||
6 | /* USB Device descriptor parameter */ | |
7 | #define VENDOR_ID 0xFEED | |
8 | #define PRODUCT_ID 0x6060 | |
9 | #define DEVICE_VER 0x0001 | |
10 | #define MANUFACTURER Fengz | |
11 | #define PRODUCT Tetris | |
12 | #define DESCRIPTION Planck mit | |
13 | #define QMK_ESC_OUTPUT B0 | |
14 | #define QMK_ESC_INPUT D7 | |
15 | #define QMK_LED B7 | |
16 | #define QMK_SPEAKER B5 | |
17 | ||
18 | /* key matrix size */ | |
19 | #define MATRIX_ROWS 4 | |
20 | #define MATRIX_COLS 12 | |
21 | ||
22 | /* key matrix pins */ | |
23 | #define MATRIX_ROW_PINS { B3, B2, B1, B0 } | |
24 | #define MATRIX_COL_PINS { D7, B4, B6, C6, C7, F6, F7, D4, D2, D3, D5, D6 } | |
25 | #define UNUSED_PINS | |
26 | ||
27 | /* COL2ROW or ROW2COL */ | |
28 | #define DIODE_DIRECTION COL2ROW | |
29 | ||
30 | /* Set 0 if debouncing isn't needed */ | |
31 | #define DEBOUNCING_DELAY 5 | |
32 | ||
33 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | |
34 | #define LOCKING_SUPPORT_ENABLE | |
35 | ||
36 | /* Locking resynchronize hack */ | |
37 | #define LOCKING_RESYNC_ENABLE | |
38 | ||
39 | /* key combination for command */ | |
40 | #define IS_COMMAND() ( \ | |
41 | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | |
42 | ) | |
43 | ||
08210b3a Y |
44 | #define TAPPING_TERM 200 |
45 | #define PERMISSIVE_HOLD | |
46 | ||
47 | #ifdef AUDIO_ENABLE | |
48 | #define B5_AUDIO | |
49 | #define STARTUP_SONG SONG(ONE_UP_SOUND) | |
50 | #define NO_MUSIC_MODE | |
51 | #endif | |
52 | ||
53 | #define RGB_DI_PIN F5 | |
54 | #ifdef RGB_DI_PIN | |
55 | #define RGBLIGHT_ANIMATIONS | |
56 | #define RGBLIGHT_SLEEP | |
57 | #define RGBLED_NUM 47 | |
58 | #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 12 | |
59 | //#define RGBLIGHT_LIMIT_VAL 128 | |
60 | #endif | |
61 | ||
74344947 | 62 | #endif |