]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/s7_elephant/config.h
Replace DEBOUNCING_DELAY (deprecated) with DEBOUNCE (#5997)
[qmk_firmware.git] / keyboards / s7_elephant / 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      0x0007
8 #define DEVICE_VER      0x0001
9 #define MANUFACTURER    jacky
10 #define PRODUCT         S7 Elephant
11 #define DESCRIPTION     A high-end 70% custom keyboard
12
13 /* key matrix size */
14 #define MATRIX_ROWS 5
15 #define MATRIX_COLS 16
16
17 /* key matrix pins */
18 #define MATRIX_ROW_PINS { B0, B1, B2, B3, B4 }
19 #define MATRIX_COL_PINS { B6, D0, D1, D2, D3, D4, D5, D6, D7, C6, C7, F4, F5, F6, F7, F1 }
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 RGB_DI_PIN E6
35 #ifdef RGB_DI_PIN
36 #define RGBLIGHT_ANIMATIONS
37 #define RGBLED_NUM 2
38 #define RGBLIGHT_HUE_STEP 8
39 #define RGBLIGHT_SAT_STEP 8
40 #define RGBLIGHT_VAL_STEP 8
41 #define RGBLIGHT_SLEEP
42 #endif