]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/1upkeyboards/1up60rgb/config.h
fbafe0c44bc112cc1a4257e883e43e99db813006
[qmk_firmware.git] / keyboards / 1upkeyboards / 1up60rgb / 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    1upkeyboards
10 #define PRODUCT         1UP RGB Underglow PCB
11 #define DESCRIPTION     60% keyboard with RGB underglow
12
13 /* key matrix size */
14 #define MATRIX_ROWS 5
15 #define MATRIX_COLS 15
16
17 /* key matrix pins */
18 #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
19 #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B7, D4, B1, B0, B5, B4, D7, D6, B3, F4 }
20 #define UNUSED_PINS
21
22 /* COL2ROW or ROW2COL */
23 #define DIODE_DIRECTION COL2ROW
24
25 /* number of backlight levels */
26 #define BACKLIGHT_PIN B6
27 #ifdef BACKLIGHT_PIN
28 #define BACKLIGHT_LEVELS 5
29 #endif
30
31 /* Set 0 if debouncing isn't needed */
32 #define DEBOUNCING_DELAY 5
33
34 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
35 #define LOCKING_SUPPORT_ENABLE
36
37 /* Locking resynchronize hack */
38 #define LOCKING_RESYNC_ENABLE
39
40 #define RGB_DI_PIN E2
41 #ifdef RGB_DI_PIN
42 #define RGBLIGHT_ANIMATIONS
43 #define RGBLED_NUM 16
44 #define RGBLIGHT_HUE_STEP 8
45 #define RGBLIGHT_SAT_STEP 8
46 #define RGBLIGHT_VAL_STEP 8
47 #endif