]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/dztech/dz40rgb/config.h
RGB Matrix Overhaul (#5372)
[qmk_firmware.git] / keyboards / dztech / dz40rgb / 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      0x1220
8 #define DEVICE_VER      0x0001
9 #define MANUFACTURER    DZTECH
10 #define PRODUCT         DZ40RGB
11 #define DESCRIPTION     DZ40 ARM RGB keyboard
12 #define MATRIX_ROWS 4
13 #define MATRIX_COLS 12
14
15 #define MATRIX_ROW_PINS { B13, B12, A2, A1 }
16 #define MATRIX_COL_PINS {A6, A7, B0, B1, C15, C14, C13, B9, B8, A8, B14, B15 }
17
18 /* #define UNUSED_PINS {A0,A1,A2, A3,A4,A9,A10,C15,A13,A14,B2}*/
19
20 #define DIODE_DIRECTION COL2ROW
21
22 #define DEBOUNCE 3
23 #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
24 #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended
25 #define RGB_MATRIX_KEYPRESSES
26 #define DISABLE_RGB_MATRIX_SPLASH
27 #define DISABLE_RGB_MATRIX_MULTISPLASH
28 #define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
29 #define DRIVER_ADDR_1 0b1010000
30 #define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
31
32 #define DRIVER_COUNT 2