diff options
| -rw-r--r-- | keyboards/dztech/dz60rgb_wkl/v1/config.h | 6 | ||||
| -rw-r--r-- | keyboards/dztech/dz60rgb_wkl/v2/config.h | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/dztech/dz60rgb_wkl/v1/config.h b/keyboards/dztech/dz60rgb_wkl/v1/config.h index 363f463ec..f7195a1c7 100644 --- a/keyboards/dztech/dz60rgb_wkl/v1/config.h +++ b/keyboards/dztech/dz60rgb_wkl/v1/config.h | |||
| @@ -32,6 +32,12 @@ | |||
| 32 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 32 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
| 33 | #define DEBOUNCE 3 | 33 | #define DEBOUNCE 3 |
| 34 | 34 | ||
| 35 | /* disable these deprecated features by default */ | ||
| 36 | #ifndef LINK_TIME_OPTIMIZATION_ENABLE | ||
| 37 | # define NO_ACTION_MACRO | ||
| 38 | # define NO_ACTION_FUNCTION | ||
| 39 | #endif | ||
| 40 | |||
| 35 | #ifdef RGB_MATRIX_ENABLE | 41 | #ifdef RGB_MATRIX_ENABLE |
| 36 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 42 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
| 37 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 43 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended |
diff --git a/keyboards/dztech/dz60rgb_wkl/v2/config.h b/keyboards/dztech/dz60rgb_wkl/v2/config.h index a180e7714..7dace7b1e 100644 --- a/keyboards/dztech/dz60rgb_wkl/v2/config.h +++ b/keyboards/dztech/dz60rgb_wkl/v2/config.h | |||
| @@ -32,6 +32,12 @@ | |||
| 32 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 32 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
| 33 | #define DEBOUNCE 3 | 33 | #define DEBOUNCE 3 |
| 34 | 34 | ||
| 35 | /* disable these deprecated features by default */ | ||
| 36 | #ifndef LINK_TIME_OPTIMIZATION_ENABLE | ||
| 37 | # define NO_ACTION_MACRO | ||
| 38 | # define NO_ACTION_FUNCTION | ||
| 39 | #endif | ||
| 40 | |||
| 35 | #ifdef RGB_MATRIX_ENABLE | 41 | #ifdef RGB_MATRIX_ENABLE |
| 36 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 42 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
| 37 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 43 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended |
