]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/tetris/config.h
Add makefile target 'show_build_options' and 'show_all_features' (#5048)
[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 #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 #define NO_ACTION_MACRO
40 #define NO_ACTION_FUNCTION
41
42 #define TAPPING_TERM 200
43
44 #ifdef AUDIO_ENABLE
45   #define B5_AUDIO
46   #define STARTUP_SONG SONG(ONE_UP_SOUND)
47   #define NO_MUSIC_MODE
48 #endif
49
50 #if RGBLIGHT_ENABLE
51 #define RGB_DI_PIN F5
52 #define RGBLIGHT_ANIMATIONS
53 #define RGBLIGHT_SLEEP
54 #define RGBLED_NUM 47
55 #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 12
56 //#define RGBLIGHT_LIMIT_VAL 128
57 #endif