Commit | Line | Data |
---|---|---|
161ffa0a | 1 | #pragma once |
08210b3a Y |
2 | |
3 | #include "config_common.h" | |
4 | ||
5 | /* USB Device descriptor parameter */ | |
6 | #define VENDOR_ID 0xFEED | |
7 | #define PRODUCT_ID 0x6060 | |
8 | #define DEVICE_VER 0x0001 | |
9 | #define MANUFACTURER Fengz | |
10 | #define PRODUCT Tetris | |
11 | #define DESCRIPTION Planck mit | |
161ffa0a | 12 | |
08210b3a | 13 | /* key matrix size */ |
9e3b3842 | 14 | #define MATRIX_ROWS 5 |
08210b3a Y |
15 | #define MATRIX_COLS 12 |
16 | ||
17 | /* key matrix pins */ | |
9e3b3842 | 18 | #define MATRIX_ROW_PINS { B3, B2, B1, B0, E6 } |
08210b3a Y |
19 | #define MATRIX_COL_PINS { D7, B4, B6, C6, C7, F6, F7, D4, D2, D3, D5, D6 } |
20 | #define UNUSED_PINS | |
21 | ||
22 | /* COL2ROW or ROW2COL */ | |
23 | #define DIODE_DIRECTION COL2ROW | |
24 | ||
25 | /* Set 0 if debouncing isn't needed */ | |
faaaa134 | 26 | #define DEBOUNCE 5 |
08210b3a Y |
27 | |
28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | |
29 | #define LOCKING_SUPPORT_ENABLE | |
30 | ||
31 | /* Locking resynchronize hack */ | |
32 | #define LOCKING_RESYNC_ENABLE | |
33 | ||
161ffa0a DJ |
34 | #define NO_ACTION_MACRO |
35 | #define NO_ACTION_FUNCTION | |
36 | ||
08210b3a Y |
37 | #ifdef AUDIO_ENABLE |
38 | #define B5_AUDIO | |
39 | #define STARTUP_SONG SONG(ONE_UP_SOUND) | |
40 | #define NO_MUSIC_MODE | |
41 | #endif | |
42 | ||
9e3b3842 Y |
43 | #define ENCODERS_PAD_A { D1,F1 } |
44 | #define ENCODERS_PAD_B { D0,F0 } | |
45 | ||
08210b3a | 46 | #define RGB_DI_PIN F5 |
08210b3a Y |
47 | #define RGBLIGHT_ANIMATIONS |
48 | #define RGBLIGHT_SLEEP | |
49 | #define RGBLED_NUM 47 | |
9e3b3842 Y |
50 | #define RGBLIGHT_HUE_STEP 8 |
51 | #define RGBLIGHT_SAT_STEP 8 | |
52 | #define RGBLIGHT_VAL_STEP 8 | |
08210b3a | 53 | #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 12 |