]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/keycapsss/o4l_5x12/config.h
Replace DEBOUNCING_DELAY (deprecated) with DEBOUNCE (#5997)
[qmk_firmware.git] / keyboards / keycapsss / o4l_5x12 / config.h
1 #pragma once
2
3 #include "config_common.h"
4
5 /* USB Device descriptor parameter */
6 #define VENDOR_ID       0x7983
7 #define PRODUCT_ID      0x0512
8 #define DEVICE_VER      0x0001
9 #define MANUFACTURER    Keycapsss
10 #define PRODUCT         O4L:5x12
11 #define DESCRIPTION     A 60 key ortholinear keyboard
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 { F7, B1, B3, B2, B6 }
19 #define MATRIX_COL_PINS { B5, B4, E6, D7, C6, D4, D0, D1, D2, F6, F5, F4 }
20 #define UNUSED_PINS
21
22 /* COL2ROW or ROW2COL */
23 #define DIODE_DIRECTION COL2ROW
24
25 /* WS2812 RGB LED */
26 #define RGB_DI_PIN D3
27
28 #ifdef RGB_DI_PIN
29 #define RGBLIGHT_ANIMATIONS
30 #define RGBLED_NUM 12    // Number of LEDs
31 #define RGBLIGHT_HUE_STEP 4
32 #define RGBLIGHT_SAT_STEP 4
33 #define RGBLIGHT_VAL_STEP 4
34 #endif
35
36 /* Set 0 if debouncing isn't needed */
37 #define DEBOUNCE 5
38
39 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
40 #define LOCKING_SUPPORT_ENABLE
41
42 /* Locking resynchronize hack */
43 #define LOCKING_RESYNC_ENABLE