diff options
Diffstat (limited to 'keyboards/dztech/dz60rgb/config.h')
-rw-r--r-- | keyboards/dztech/dz60rgb/config.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/keyboards/dztech/dz60rgb/config.h b/keyboards/dztech/dz60rgb/config.h index edf0982ab..c9f6937ee 100644 --- a/keyboards/dztech/dz60rgb/config.h +++ b/keyboards/dztech/dz60rgb/config.h | |||
@@ -21,6 +21,7 @@ | |||
21 | #define DIODE_DIRECTION COL2ROW | 21 | #define DIODE_DIRECTION COL2ROW |
22 | 22 | ||
23 | #define DEBOUNCE 3 | 23 | #define DEBOUNCE 3 |
24 | #ifdef RGB_MATRIX_ENABLE | ||
24 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 25 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
25 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 26 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended |
26 | #define RGB_MATRIX_KEYPRESSES | 27 | #define RGB_MATRIX_KEYPRESSES |
@@ -29,14 +30,10 @@ | |||
29 | #define DISABLE_RGB_MATRIX_SPLASH | 30 | #define DISABLE_RGB_MATRIX_SPLASH |
30 | #define DISABLE_RGB_MATRIX_MULTISPLASH | 31 | #define DISABLE_RGB_MATRIX_MULTISPLASH |
31 | #define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH | 32 | #define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH |
33 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL | ||
32 | #define DRIVER_ADDR_1 0b1010000 | 34 | #define DRIVER_ADDR_1 0b1010000 |
33 | #define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons. | 35 | #define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons. |
34 | #define DRIVER_COUNT 2 | 36 | #define DRIVER_COUNT 2 |
35 | #if defined (dzrgb60_ansi) || defined (dzrgb60_iso) | ||
36 | #define DRIVER_1_LED_TOTAL 61 | ||
37 | #elif defined (dzrgb60_hhkb) || defined (dzrgb60_hhkb_iso) | ||
38 | #define DRIVER_1_LED_TOTAL 62 | ||
39 | #else | ||
40 | #define DRIVER_1_LED_TOTAL 63 | 37 | #define DRIVER_1_LED_TOTAL 63 |
41 | #endif | ||
42 | #define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL | 38 | #define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL |
39 | #endif \ No newline at end of file | ||