]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/tetris/config.h
c2e552449063afb71b0a0d5e429638b4a01d61bb
[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 /* key combination for command */
40 #define IS_COMMAND() ( \
41     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
42 )
43
44 #define NO_ACTION_MACRO
45 #define NO_ACTION_FUNCTION
46
47 #define TAPPING_TERM 200
48
49 #ifdef AUDIO_ENABLE
50   #define B5_AUDIO
51   #define STARTUP_SONG SONG(ONE_UP_SOUND)
52   #define NO_MUSIC_MODE
53 #endif
54
55 #if RGBLIGHT_ENABLE
56 #define RGB_DI_PIN F5
57 #define RGBLIGHT_ANIMATIONS
58 #define RGBLIGHT_SLEEP
59 #define RGBLED_NUM 47
60 #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 12
61 //#define RGBLIGHT_LIMIT_VAL 128
62 #endif