]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/tetris/config.h
7fe0c2d6460dc08c4b64d327bef0264e5ad4fd89
[qmk_firmware.git] / keyboards / tetris / config.h
1 #pragma once
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
12
13 /* key matrix size */
14 #define MATRIX_ROWS 5
15 #define MATRIX_COLS 12
16
17 /* key matrix pins */
18 #define MATRIX_ROW_PINS { B3, B2, B1, B0, E6 }
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 */
26 #define DEBOUNCE 5
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
34 #define NO_ACTION_MACRO
35 #define NO_ACTION_FUNCTION
36
37 #ifdef AUDIO_ENABLE
38   #define B5_AUDIO
39   #define STARTUP_SONG SONG(ONE_UP_SOUND)
40   #define NO_MUSIC_MODE
41 #endif
42
43 #define NUMBER_OF_ENCODERS 2
44 #define ENCODERS_PAD_A { D1,F1 }
45 #define ENCODERS_PAD_B { D0,F0 }
46
47 #define RGB_DI_PIN F5
48 #define RGBLIGHT_ANIMATIONS
49 #define RGBLIGHT_SLEEP
50 #define RGBLED_NUM 47
51 #define RGBLIGHT_HUE_STEP 8
52 #define RGBLIGHT_SAT_STEP 8
53 #define RGBLIGHT_VAL_STEP 8
54 #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 12