diff options
author | Drashna Jaelre <drashna@live.com> | 2021-06-09 22:59:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-09 22:59:19 -0700 |
commit | 7a6e630ffd1a2a8357daf8b7ed2ab766eae55e07 (patch) | |
tree | f47997266960b08eca70a929ec19a4093f491ae3 | |
parent | 32b2ac0a807bdb088df685e6118f4c0966b6cca4 (diff) | |
download | qmk_firmware-7a6e630ffd1a2a8357daf8b7ed2ab766eae55e07.tar.gz qmk_firmware-7a6e630ffd1a2a8357daf8b7ed2ab766eae55e07.zip |
Fix RGB/LED Suspend defines (#13146)
82 files changed, 181 insertions, 196 deletions
diff --git a/keyboards/basekeys/trifecta/config.h b/keyboards/basekeys/trifecta/config.h index 8a9529126..28c9c18fb 100644 --- a/keyboards/basekeys/trifecta/config.h +++ b/keyboards/basekeys/trifecta/config.h | |||
@@ -80,11 +80,11 @@ | |||
80 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 80 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
81 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 81 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
82 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 82 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
83 | //# define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 83 | //# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
84 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 84 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
85 | # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | 85 | # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) |
86 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 86 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
87 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. | 87 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. |
88 | # define RGB_MATRIX_HUE_STEP 8 | 88 | # define RGB_MATRIX_HUE_STEP 8 |
89 | # define RGB_MATRIX_SAT_STEP 8 | 89 | # define RGB_MATRIX_SAT_STEP 8 |
90 | # define RGB_MATRIX_VAL_STEP 8 | 90 | # define RGB_MATRIX_VAL_STEP 8 |
diff --git a/keyboards/bm40hsrgb/config.h b/keyboards/bm40hsrgb/config.h index 84d0950d5..8ef9a78c7 100755 --- a/keyboards/bm40hsrgb/config.h +++ b/keyboards/bm40hsrgb/config.h | |||
@@ -51,5 +51,5 @@ | |||
51 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 51 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
52 | #endif | 52 | #endif |
53 | #ifdef RGB_MATRIX_ENABLE | 53 | #ifdef RGB_MATRIX_ENABLE |
54 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 54 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
55 | #endif | 55 | #endif |
diff --git a/keyboards/bm68rgb/keymaps/peepeetee/config.h b/keyboards/bm68rgb/keymaps/peepeetee/config.h index 53eebce7f..aada255cd 100644 --- a/keyboards/bm68rgb/keymaps/peepeetee/config.h +++ b/keyboards/bm68rgb/keymaps/peepeetee/config.h | |||
@@ -64,7 +64,7 @@ | |||
64 | // #define RGBLIGHT_SAT_STEP 25 // Units to step when in/decreasing saturation | 64 | // #define RGBLIGHT_SAT_STEP 25 // Units to step when in/decreasing saturation |
65 | // #define RGBLIGHT_VAL_STEP 12 // Units to step when in/decreasing value (brightness) | 65 | // #define RGBLIGHT_VAL_STEP 12 // Units to step when in/decreasing value (brightness) |
66 | // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 66 | // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
67 | // #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended | 67 | // #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
68 | // #define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | 68 | // #define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) |
69 | // #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 69 | // #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
70 | // #define RGBLIGHT_ANIMATIONS // Run RGB animations | 70 | // #define RGBLIGHT_ANIMATIONS // Run RGB animations |
diff --git a/keyboards/boardsource/the_mark/config.h b/keyboards/boardsource/the_mark/config.h index 5888452ce..9ca598b40 100644 --- a/keyboards/boardsource/the_mark/config.h +++ b/keyboards/boardsource/the_mark/config.h | |||
@@ -59,7 +59,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
59 | #define DRIVER_LED_TOTAL 24 // Number of LEDs | 59 | #define DRIVER_LED_TOTAL 24 // Number of LEDs |
60 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 | 60 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 |
61 | # ifndef RGB_DISABLE_WHEN_USB_SUSPENDED | 61 | # ifndef RGB_DISABLE_WHEN_USB_SUSPENDED |
62 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 62 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
63 | # endif | 63 | # endif |
64 | #endif | 64 | #endif |
65 | 65 | ||
diff --git a/keyboards/crkbd/keymaps/devdev/config.h b/keyboards/crkbd/keymaps/devdev/config.h index 793c7b020..c858f8f2d 100644 --- a/keyboards/crkbd/keymaps/devdev/config.h +++ b/keyboards/crkbd/keymaps/devdev/config.h | |||
@@ -32,7 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
32 | 32 | ||
33 | #define CUSTOM_FONT | 33 | #define CUSTOM_FONT |
34 | 34 | ||
35 | #define CUSTOM_LAYER_READ //if you remove this it causes issues - needs better guarding | 35 | #define CUSTOM_LAYER_READ //if you remove this it causes issues - needs better guarding |
36 | 36 | ||
37 | #define TAPPING_FORCE_HOLD | 37 | #define TAPPING_FORCE_HOLD |
38 | #define TAPPING_TERM 200 | 38 | #define TAPPING_TERM 200 |
@@ -43,7 +43,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
43 | 43 | ||
44 | #ifdef RGBLIGHT_ENABLE | 44 | #ifdef RGBLIGHT_ENABLE |
45 | #undef RGBLED_NUM | 45 | #undef RGBLED_NUM |
46 | 46 | ||
47 | //#define RGBLIGHT_ANIMATIONS | 47 | //#define RGBLIGHT_ANIMATIONS |
48 | #define RGBLIGHT_EFFECT_BREATHING | 48 | #define RGBLIGHT_EFFECT_BREATHING |
49 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 49 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
@@ -55,11 +55,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
55 | //#define RGBLIGHT_EFFECT_RGB_TEST | 55 | //#define RGBLIGHT_EFFECT_RGB_TEST |
56 | //#define RGBLIGHT_EFFECT_ALTERNATING | 56 | //#define RGBLIGHT_EFFECT_ALTERNATING |
57 | //#define RGBLIGHT_EFFECT_TWINKLE | 57 | //#define RGBLIGHT_EFFECT_TWINKLE |
58 | 58 | ||
59 | //#define RGBLED_NUM 54 | 59 | //#define RGBLED_NUM 54 |
60 | //#define RGBLED_SPLIT 27 | 60 | //#define RGBLED_SPLIT 27 |
61 | //#define RGBLED_SPLIT { 27, 27 } // haven't figured out how to use this yet | 61 | //#define RGBLED_SPLIT { 27, 27 } // haven't figured out how to use this yet |
62 | 62 | ||
63 | #define RGBLED_NUM 27 | 63 | #define RGBLED_NUM 27 |
64 | #define RGBLIGHT_LIMIT_VAL 120 | 64 | #define RGBLIGHT_LIMIT_VAL 120 |
65 | #define RGBLIGHT_HUE_STEP 10 | 65 | #define RGBLIGHT_HUE_STEP 10 |
@@ -71,11 +71,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
71 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 71 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
72 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 72 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
73 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 73 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
74 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 74 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
75 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 75 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
76 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | 76 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) |
77 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 77 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
78 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. | 78 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. |
79 | 79 | ||
80 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_GRADIENT_LEFT_RIGHT | 80 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_GRADIENT_LEFT_RIGHT |
81 | 81 | ||
diff --git a/keyboards/crkbd/keymaps/gotham/config.h b/keyboards/crkbd/keymaps/gotham/config.h index dd58a0fe0..05b04e0aa 100644 --- a/keyboards/crkbd/keymaps/gotham/config.h +++ b/keyboards/crkbd/keymaps/gotham/config.h | |||
@@ -39,7 +39,7 @@ | |||
39 | 39 | ||
40 | #ifdef RGB_MATRIX_ENABLE | 40 | #ifdef RGB_MATRIX_ENABLE |
41 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 41 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
42 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 42 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
43 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. | 43 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. |
44 | # define RGB_MATRIX_HUE_STEP 32 | 44 | # define RGB_MATRIX_HUE_STEP 32 |
45 | # define RGB_MATRIX_SAT_STEP 64 | 45 | # define RGB_MATRIX_SAT_STEP 64 |
diff --git a/keyboards/crkbd/keymaps/kidbrazil/config.h b/keyboards/crkbd/keymaps/kidbrazil/config.h index be1777e57..752ea862e 100644 --- a/keyboards/crkbd/keymaps/kidbrazil/config.h +++ b/keyboards/crkbd/keymaps/kidbrazil/config.h | |||
@@ -56,7 +56,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
56 | //# define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 56 | //# define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
57 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 57 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
58 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 58 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
59 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 59 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
60 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 60 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
61 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | 61 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) |
62 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 62 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
diff --git a/keyboards/crkbd/keymaps/rpbaptist/config.h b/keyboards/crkbd/keymaps/rpbaptist/config.h index 6bd16725f..9e5f75c36 100644 --- a/keyboards/crkbd/keymaps/rpbaptist/config.h +++ b/keyboards/crkbd/keymaps/rpbaptist/config.h | |||
@@ -42,7 +42,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
42 | #define NO_ACTION_ONESHOT | 42 | #define NO_ACTION_ONESHOT |
43 | 43 | ||
44 | #ifdef RGB_MATRIX_ENABLE | 44 | #ifdef RGB_MATRIX_ENABLE |
45 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 45 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
46 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 | 46 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 |
47 | 47 | ||
48 | # define RGB_MATRIX_HUE_STEP 8 | 48 | # define RGB_MATRIX_HUE_STEP 8 |
diff --git a/keyboards/crkbd/keymaps/soundmonster/config.h b/keyboards/crkbd/keymaps/soundmonster/config.h index 1e58af3ab..8235b4869 100644 --- a/keyboards/crkbd/keymaps/soundmonster/config.h +++ b/keyboards/crkbd/keymaps/soundmonster/config.h | |||
@@ -59,11 +59,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
59 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 59 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
60 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 60 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
61 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 61 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
62 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 62 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
63 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 63 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
64 | # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | 64 | # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) |
65 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 65 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
66 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. | 66 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. |
67 | # define RGB_MATRIX_HUE_STEP 8 | 67 | # define RGB_MATRIX_HUE_STEP 8 |
68 | # define RGB_MATRIX_SAT_STEP 8 | 68 | # define RGB_MATRIX_SAT_STEP 8 |
69 | # define RGB_MATRIX_VAL_STEP 8 | 69 | # define RGB_MATRIX_VAL_STEP 8 |
diff --git a/keyboards/crkbd/readme.md b/keyboards/crkbd/readme.md index 1e5bfb39a..f0b5672cf 100644 --- a/keyboards/crkbd/readme.md +++ b/keyboards/crkbd/readme.md | |||
@@ -38,7 +38,7 @@ And in your `config.h` file, add the following: | |||
38 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 38 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
39 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 39 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
40 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 40 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
41 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 41 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
42 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 42 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
43 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | 43 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) |
44 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 44 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
diff --git a/keyboards/dztech/dz60rgb/v1/config.h b/keyboards/dztech/dz60rgb/v1/config.h index 6e5b3da6f..f6ee7c4e2 100644 --- a/keyboards/dztech/dz60rgb/v1/config.h +++ b/keyboards/dztech/dz60rgb/v1/config.h | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | #ifdef RGB_MATRIX_ENABLE | 38 | #ifdef RGB_MATRIX_ENABLE |
39 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 39 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
40 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 40 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
41 | # define RGB_MATRIX_KEYPRESSES | 41 | # define RGB_MATRIX_KEYPRESSES |
42 | # define RGB_MATRIX_LED_PROCESS_LIMIT 4 | 42 | # define RGB_MATRIX_LED_PROCESS_LIMIT 4 |
43 | # define RGB_MATRIX_LED_FLUSH_LIMIT 26 | 43 | # define RGB_MATRIX_LED_FLUSH_LIMIT 26 |
diff --git a/keyboards/dztech/dz60rgb/v2/config.h b/keyboards/dztech/dz60rgb/v2/config.h index df84fff59..6108e9903 100644 --- a/keyboards/dztech/dz60rgb/v2/config.h +++ b/keyboards/dztech/dz60rgb/v2/config.h | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | #ifdef RGB_MATRIX_ENABLE | 38 | #ifdef RGB_MATRIX_ENABLE |
39 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 39 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
40 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 40 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
41 | # define RGB_MATRIX_KEYPRESSES | 41 | # define RGB_MATRIX_KEYPRESSES |
42 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 42 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
43 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 43 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
diff --git a/keyboards/dztech/dz60rgb_ansi/v1/config.h b/keyboards/dztech/dz60rgb_ansi/v1/config.h index 8710f8d07..dc2a6f4bc 100644 --- a/keyboards/dztech/dz60rgb_ansi/v1/config.h +++ b/keyboards/dztech/dz60rgb_ansi/v1/config.h | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | #ifdef RGB_MATRIX_ENABLE | 38 | #ifdef RGB_MATRIX_ENABLE |
39 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 39 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
40 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 40 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
41 | # define RGB_MATRIX_KEYPRESSES | 41 | # define RGB_MATRIX_KEYPRESSES |
42 | # define RGB_MATRIX_LED_PROCESS_LIMIT 4 | 42 | # define RGB_MATRIX_LED_PROCESS_LIMIT 4 |
43 | # define RGB_MATRIX_LED_FLUSH_LIMIT 26 | 43 | # define RGB_MATRIX_LED_FLUSH_LIMIT 26 |
diff --git a/keyboards/dztech/dz60rgb_ansi/v2/config.h b/keyboards/dztech/dz60rgb_ansi/v2/config.h index f3c9b73fb..6c1e00682 100644 --- a/keyboards/dztech/dz60rgb_ansi/v2/config.h +++ b/keyboards/dztech/dz60rgb_ansi/v2/config.h | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | #ifdef RGB_MATRIX_ENABLE | 38 | #ifdef RGB_MATRIX_ENABLE |
39 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 39 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
40 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 40 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
41 | # define RGB_MATRIX_KEYPRESSES | 41 | # define RGB_MATRIX_KEYPRESSES |
42 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 42 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
43 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 43 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
diff --git a/keyboards/dztech/dz60rgb_wkl/v1/config.h b/keyboards/dztech/dz60rgb_wkl/v1/config.h index 9c630c75b..12317c2d3 100644 --- a/keyboards/dztech/dz60rgb_wkl/v1/config.h +++ b/keyboards/dztech/dz60rgb_wkl/v1/config.h | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | #ifdef RGB_MATRIX_ENABLE | 38 | #ifdef RGB_MATRIX_ENABLE |
39 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 39 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
40 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 40 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
41 | # define RGB_MATRIX_KEYPRESSES | 41 | # define RGB_MATRIX_KEYPRESSES |
42 | # define RGB_MATRIX_LED_PROCESS_LIMIT 4 | 42 | # define RGB_MATRIX_LED_PROCESS_LIMIT 4 |
43 | # define RGB_MATRIX_LED_FLUSH_LIMIT 26 | 43 | # define RGB_MATRIX_LED_FLUSH_LIMIT 26 |
diff --git a/keyboards/dztech/dz60rgb_wkl/v2/config.h b/keyboards/dztech/dz60rgb_wkl/v2/config.h index a6145c274..945b591ce 100644 --- a/keyboards/dztech/dz60rgb_wkl/v2/config.h +++ b/keyboards/dztech/dz60rgb_wkl/v2/config.h | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | #ifdef RGB_MATRIX_ENABLE | 38 | #ifdef RGB_MATRIX_ENABLE |
39 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 39 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
40 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 40 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
41 | # define RGB_MATRIX_KEYPRESSES | 41 | # define RGB_MATRIX_KEYPRESSES |
42 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 42 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
43 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 43 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
diff --git a/keyboards/dztech/dz65rgb/v1/config.h b/keyboards/dztech/dz65rgb/v1/config.h index cd4747716..1b0aa5205 100644 --- a/keyboards/dztech/dz65rgb/v1/config.h +++ b/keyboards/dztech/dz65rgb/v1/config.h | |||
@@ -36,9 +36,9 @@ | |||
36 | # define RGB_MATRIX_LED_FLUSH_LIMIT 26 | 36 | # define RGB_MATRIX_LED_FLUSH_LIMIT 26 |
37 | # define DEBOUNCE 3 | 37 | # define DEBOUNCE 3 |
38 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 38 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
39 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 39 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
40 | # define RGB_MATRIX_KEYPRESSES | 40 | # define RGB_MATRIX_KEYPRESSES |
41 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 41 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
42 | # define DISABLE_RGB_MATRIX_BAND_SAT | 42 | # define DISABLE_RGB_MATRIX_BAND_SAT |
43 | # define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | 43 | # define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT |
44 | # define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT | 44 | # define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT |
diff --git a/keyboards/dztech/dz65rgb/v2/config.h b/keyboards/dztech/dz65rgb/v2/config.h index ccd74275a..117fb1e3e 100644 --- a/keyboards/dztech/dz65rgb/v2/config.h +++ b/keyboards/dztech/dz65rgb/v2/config.h | |||
@@ -36,7 +36,7 @@ | |||
36 | # define RGB_MATRIX_LED_FLUSH_LIMIT 26 | 36 | # define RGB_MATRIX_LED_FLUSH_LIMIT 26 |
37 | # define DEBOUNCE 3 | 37 | # define DEBOUNCE 3 |
38 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 38 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
39 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 39 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
40 | # define RGB_MATRIX_KEYPRESSES | 40 | # define RGB_MATRIX_KEYPRESSES |
41 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 41 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
42 | # define DISABLE_RGB_MATRIX_BAND_SAT | 42 | # define DISABLE_RGB_MATRIX_BAND_SAT |
diff --git a/keyboards/ergodox_ez/config.h b/keyboards/ergodox_ez/config.h index bc63f6108..9dcfc341e 100644 --- a/keyboards/ergodox_ez/config.h +++ b/keyboards/ergodox_ez/config.h | |||
@@ -129,7 +129,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
129 | #define RGB_MATRIX_LED_PROCESS_LIMIT 5 | 129 | #define RGB_MATRIX_LED_PROCESS_LIMIT 5 |
130 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 | 130 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 |
131 | 131 | ||
132 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true | 132 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
133 | 133 | ||
134 | // #define RGBLIGHT_COLOR_LAYER_0 0x00, 0x00, 0xFF | 134 | // #define RGBLIGHT_COLOR_LAYER_0 0x00, 0x00, 0xFF |
135 | /* #define RGBLIGHT_COLOR_LAYER_1 0x00, 0x00, 0xFF */ | 135 | /* #define RGBLIGHT_COLOR_LAYER_1 0x00, 0x00, 0xFF */ |
diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/config.h b/keyboards/ergodox_ez/keymaps/hacker_dvorak/config.h index a0ba655ed..da2082078 100644 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/config.h +++ b/keyboards/ergodox_ez/keymaps/hacker_dvorak/config.h | |||
@@ -14,7 +14,7 @@ | |||
14 | #undef IGNORE_MOD_TAP_INTERRUPT | 14 | #undef IGNORE_MOD_TAP_INTERRUPT |
15 | #define IGNORE_MOD_TAP_INTERRUPT | 15 | #define IGNORE_MOD_TAP_INTERRUPT |
16 | 16 | ||
17 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true | 17 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
18 | 18 | ||
19 | #undef FORCE_NKRO | 19 | #undef FORCE_NKRO |
20 | #define FORCE_NKRO | 20 | #define FORCE_NKRO |
diff --git a/keyboards/geekboards/macropad_v2/config.h b/keyboards/geekboards/macropad_v2/config.h index 5f11cdddb..d0e208f9b 100644 --- a/keyboards/geekboards/macropad_v2/config.h +++ b/keyboards/geekboards/macropad_v2/config.h | |||
@@ -41,7 +41,7 @@ | |||
41 | #define WS2812_DMA_CHANNEL 3 | 41 | #define WS2812_DMA_CHANNEL 3 |
42 | 42 | ||
43 | #ifdef RGB_MATRIX_ENABLE | 43 | #ifdef RGB_MATRIX_ENABLE |
44 | #define RGB_MATRIX_KEYPRESSES | 44 | #define RGB_MATRIX_KEYPRESSES |
45 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 45 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
46 | #define DISABLE_RGB_MATRIX_ALPHAS_MODS | 46 | #define DISABLE_RGB_MATRIX_ALPHAS_MODS |
47 | #define DISABLE_RGB_MATRIX_BAND_SAT | 47 | #define DISABLE_RGB_MATRIX_BAND_SAT |
@@ -67,7 +67,7 @@ | |||
67 | #define RGB_MATRIX_STARTUP_SPD 30 | 67 | #define RGB_MATRIX_STARTUP_SPD 30 |
68 | #endif //RGB_MATRIX_ENABLE | 68 | #endif //RGB_MATRIX_ENABLE |
69 | 69 | ||
70 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true | 70 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
71 | #define WAIT_FOR_USB | 71 | #define WAIT_FOR_USB |
72 | 72 | ||
73 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 73 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
diff --git a/keyboards/geekboards/tester/config.h b/keyboards/geekboards/tester/config.h index 4f072c0ee..3e3daccd5 100644 --- a/keyboards/geekboards/tester/config.h +++ b/keyboards/geekboards/tester/config.h | |||
@@ -24,7 +24,7 @@ | |||
24 | #define DEBOUNCE 3 | 24 | #define DEBOUNCE 3 |
25 | #ifdef RGB_MATRIX_ENABLE | 25 | #ifdef RGB_MATRIX_ENABLE |
26 | #define RGB_DISABLE_AFTER_TIMEOUT 0 | 26 | #define RGB_DISABLE_AFTER_TIMEOUT 0 |
27 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true | 27 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
28 | #define RGB_MATRIX_KEYPRESSES | 28 | #define RGB_MATRIX_KEYPRESSES |
29 | #define DISABLE_RGB_MATRIX_SPLASH | 29 | #define DISABLE_RGB_MATRIX_SPLASH |
30 | #define DISABLE_RGB_MATRIX_MULTISPLASH | 30 | #define DISABLE_RGB_MATRIX_MULTISPLASH |
@@ -36,4 +36,4 @@ | |||
36 | #define DRIVER_1_LED_TOTAL 8 | 36 | #define DRIVER_1_LED_TOTAL 8 |
37 | #define DRIVER_2_LED_TOTAL 0 | 37 | #define DRIVER_2_LED_TOTAL 0 |
38 | #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) | 38 | #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) |
39 | #endif \ No newline at end of file | 39 | #endif |
diff --git a/keyboards/handwired/colorlice/config.h b/keyboards/handwired/colorlice/config.h index 206a4004e..0148817f3 100644 --- a/keyboards/handwired/colorlice/config.h +++ b/keyboards/handwired/colorlice/config.h | |||
@@ -49,7 +49,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
49 | /* RGB LEDs */ | 49 | /* RGB LEDs */ |
50 | #define RGB_DI_PIN B1 | 50 | #define RGB_DI_PIN B1 |
51 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 51 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
52 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 52 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
53 | #define RGB_MATRIX_KEYPRESSES | 53 | #define RGB_MATRIX_KEYPRESSES |
54 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 54 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
55 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 | 55 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 |
diff --git a/keyboards/handwired/hnah40rgb/config.h b/keyboards/handwired/hnah40rgb/config.h index e6271738c..3d558f97f 100644 --- a/keyboards/handwired/hnah40rgb/config.h +++ b/keyboards/handwired/hnah40rgb/config.h | |||
@@ -60,7 +60,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
60 | #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 60 | #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
61 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 61 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
62 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 62 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
63 | #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended | 63 | // #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
64 | #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 64 | #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
65 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 | 65 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 |
66 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_PINWHEEL // Sets the default mode, if none has been set | 66 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_PINWHEEL // Sets the default mode, if none has been set |
diff --git a/keyboards/handwired/p65rgb/config.h b/keyboards/handwired/p65rgb/config.h index c50fc2826..142d3c03e 100644 --- a/keyboards/handwired/p65rgb/config.h +++ b/keyboards/handwired/p65rgb/config.h | |||
@@ -40,7 +40,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
40 | 40 | ||
41 | #define RGB_DI_PIN B4 | 41 | #define RGB_DI_PIN B4 |
42 | #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 |
43 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 43 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
44 | #define RGB_MATRIX_KEYPRESSES | 44 | #define RGB_MATRIX_KEYPRESSES |
45 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 45 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
46 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 | 46 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 |
diff --git a/keyboards/helix/rev3_4rows/config.h b/keyboards/helix/rev3_4rows/config.h index 9102104bf..95eb8bf0c 100644 --- a/keyboards/helix/rev3_4rows/config.h +++ b/keyboards/helix/rev3_4rows/config.h | |||
@@ -68,7 +68,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
68 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 68 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
69 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 69 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
70 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 70 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
71 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 71 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
72 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 72 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
73 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | 73 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) |
74 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 74 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
diff --git a/keyboards/helix/rev3_5rows/config.h b/keyboards/helix/rev3_5rows/config.h index 4dda76206..a373de7d1 100644 --- a/keyboards/helix/rev3_5rows/config.h +++ b/keyboards/helix/rev3_5rows/config.h | |||
@@ -68,7 +68,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
68 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 68 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
69 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 69 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
70 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 70 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
71 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 71 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
72 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 72 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
73 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | 73 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) |
74 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 74 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
diff --git a/keyboards/hs60/v1/config.h b/keyboards/hs60/v1/config.h index 68c75b2af..41246b6ee 100644 --- a/keyboards/hs60/v1/config.h +++ b/keyboards/hs60/v1/config.h | |||
@@ -118,7 +118,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
118 | //#define RGB_MATRIX_KEYPRESSES // reacts to keypresses (will slow down matrix scan by a lot) | 118 | //#define RGB_MATRIX_KEYPRESSES // reacts to keypresses (will slow down matrix scan by a lot) |
119 | 119 | ||
120 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 120 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
121 | #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended | 121 | // #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
122 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 215 | 122 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 215 |
123 | 123 | ||
124 | #define DRIVER_ADDR_1 0b1110100 | 124 | #define DRIVER_ADDR_1 0b1110100 |
diff --git a/keyboards/kbdfans/bella/rgb/config.h b/keyboards/kbdfans/bella/rgb/config.h index f56049690..07594a34a 100644 --- a/keyboards/kbdfans/bella/rgb/config.h +++ b/keyboards/kbdfans/bella/rgb/config.h | |||
@@ -37,7 +37,7 @@ | |||
37 | /* disable these deprecated features by default */ | 37 | /* disable these deprecated features by default */ |
38 | #ifdef RGB_MATRIX_ENABLE | 38 | #ifdef RGB_MATRIX_ENABLE |
39 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 39 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
40 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 40 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
41 | #define RGB_MATRIX_KEYPRESSES | 41 | #define RGB_MATRIX_KEYPRESSES |
42 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 42 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
43 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 | 43 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 |
diff --git a/keyboards/kbdfans/bella/rgb_iso/config.h b/keyboards/kbdfans/bella/rgb_iso/config.h index fc7a9d7c0..4fda99867 100644 --- a/keyboards/kbdfans/bella/rgb_iso/config.h +++ b/keyboards/kbdfans/bella/rgb_iso/config.h | |||
@@ -37,7 +37,7 @@ | |||
37 | /* disable these deprecated features by default */ | 37 | /* disable these deprecated features by default */ |
38 | #ifdef RGB_MATRIX_ENABLE | 38 | #ifdef RGB_MATRIX_ENABLE |
39 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 39 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
40 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 40 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
41 | #define RGB_MATRIX_KEYPRESSES | 41 | #define RGB_MATRIX_KEYPRESSES |
42 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 42 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
43 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 | 43 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 |
diff --git a/keyboards/kbdfans/kbd67/mkiirgb/v1/config.h b/keyboards/kbdfans/kbd67/mkiirgb/v1/config.h index a832110d3..b0b7e1dad 100644 --- a/keyboards/kbdfans/kbd67/mkiirgb/v1/config.h +++ b/keyboards/kbdfans/kbd67/mkiirgb/v1/config.h | |||
@@ -16,9 +16,9 @@ | |||
16 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 | 16 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 |
17 | #define DEBOUNCE 3 | 17 | #define DEBOUNCE 3 |
18 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 18 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
19 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 19 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
20 | #define RGB_MATRIX_KEYPRESSES | 20 | #define RGB_MATRIX_KEYPRESSES |
21 | #define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 21 | #define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
22 | #define DISABLE_RGB_MATRIX_BAND_SAT | 22 | #define DISABLE_RGB_MATRIX_BAND_SAT |
23 | #define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | 23 | #define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT |
24 | #define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT | 24 | #define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT |
diff --git a/keyboards/kbdfans/kbd67/mkiirgb/v2/config.h b/keyboards/kbdfans/kbd67/mkiirgb/v2/config.h index 1ac9c770d..51e732f10 100644 --- a/keyboards/kbdfans/kbd67/mkiirgb/v2/config.h +++ b/keyboards/kbdfans/kbd67/mkiirgb/v2/config.h | |||
@@ -16,10 +16,10 @@ | |||
16 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 | 16 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 |
17 | #define DEBOUNCE 3 | 17 | #define DEBOUNCE 3 |
18 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 18 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
19 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 19 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
20 | #define RGB_MATRIX_KEYPRESSES | 20 | #define RGB_MATRIX_KEYPRESSES |
21 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL | 21 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL |
22 | #define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 22 | #define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
23 | #define DISABLE_RGB_MATRIX_BAND_SAT | 23 | #define DISABLE_RGB_MATRIX_BAND_SAT |
24 | #define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | 24 | #define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT |
25 | #define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT | 25 | #define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT |
diff --git a/keyboards/kbdfans/kbdmini/config.h b/keyboards/kbdfans/kbdmini/config.h index 5a36e983d..fc65f4341 100644 --- a/keyboards/kbdfans/kbdmini/config.h +++ b/keyboards/kbdfans/kbdmini/config.h | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | #ifdef RGB_MATRIX_ENABLE | 36 | #ifdef RGB_MATRIX_ENABLE |
37 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 37 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
38 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 38 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
39 | #define RGB_MATRIX_KEYPRESSES | 39 | #define RGB_MATRIX_KEYPRESSES |
40 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 40 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
41 | #define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 41 | #define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
diff --git a/keyboards/kbdfans/maja/config.h b/keyboards/kbdfans/maja/config.h index d8553766b..3722c8381 100755 --- a/keyboards/kbdfans/maja/config.h +++ b/keyboards/kbdfans/maja/config.h | |||
@@ -18,9 +18,9 @@ | |||
18 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 | 18 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 |
19 | #define DEBOUNCE 3 | 19 | #define DEBOUNCE 3 |
20 | #define RGB_DISABLE_AFTER_TIMEOUT 0 | 20 | #define RGB_DISABLE_AFTER_TIMEOUT 0 |
21 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true | 21 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
22 | #define RGB_MATRIX_KEYPRESSES | 22 | #define RGB_MATRIX_KEYPRESSES |
23 | #define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 23 | #define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
24 | #define DISABLE_RGB_MATRIX_BAND_SAT | 24 | #define DISABLE_RGB_MATRIX_BAND_SAT |
25 | #define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | 25 | #define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT |
26 | #define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT | 26 | #define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT |
diff --git a/keyboards/latin17rgb/config.h b/keyboards/latin17rgb/config.h index 013899f60..6a7ea8e78 100644 --- a/keyboards/latin17rgb/config.h +++ b/keyboards/latin17rgb/config.h | |||
@@ -1,18 +1,18 @@ | |||
1 | /* Copyright 2021 18438880 | 1 | /* Copyright 2021 18438880 |
2 | * | 2 | * |
3 | * This program is free software: you can redistribute it and/or modify | 3 | * This program is free software: you can redistribute it and/or modify |
4 | * it under the terms of the GNU General Public License as published by | 4 | * it under the terms of the GNU General Public License as published by |
5 | * the Free Software Foundation, either version 2 of the License, or | 5 | * the Free Software Foundation, either version 2 of the License, or |
6 | * (at your option) any later version. | 6 | * (at your option) any later version. |
7 | * | 7 | * |
8 | * This program is distributed in the hope that it will be useful, | 8 | * This program is distributed in the hope that it will be useful, |
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
11 | * GNU General Public License for more details. | 11 | * GNU General Public License for more details. |
12 | * | 12 | * |
13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #pragma once | 17 | #pragma once |
18 | 18 | ||
@@ -56,7 +56,7 @@ | |||
56 | 56 | ||
57 | #ifdef RGB_MATRIX_ENABLE | 57 | #ifdef RGB_MATRIX_ENABLE |
58 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 58 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
59 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 59 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
60 | # define RGB_MATRIX_KEYPRESSES | 60 | # define RGB_MATRIX_KEYPRESSES |
61 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 61 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
62 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 62 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
@@ -100,5 +100,3 @@ | |||
100 | #define RGBLIGHT_VAL_STEP 5 | 100 | #define RGBLIGHT_VAL_STEP 5 |
101 | #define RGBLIGHT_SLEEP | 101 | #define RGBLIGHT_SLEEP |
102 | #endif | 102 | #endif |
103 | |||
104 | |||
diff --git a/keyboards/latin60rgb/config.h b/keyboards/latin60rgb/config.h index bbe502054..97b481291 100644 --- a/keyboards/latin60rgb/config.h +++ b/keyboards/latin60rgb/config.h | |||
@@ -1,18 +1,18 @@ | |||
1 | /* Copyright 2021 latincompass | 1 | /* Copyright 2021 latincompass |
2 | * | 2 | * |
3 | * This program is free software: you can redistribute it and/or modify | 3 | * This program is free software: you can redistribute it and/or modify |
4 | * it under the terms of the GNU General Public License as published by | 4 | * it under the terms of the GNU General Public License as published by |
5 | * the Free Software Foundation, either version 2 of the License, or | 5 | * the Free Software Foundation, either version 2 of the License, or |
6 | * (at your option) any later version. | 6 | * (at your option) any later version. |
7 | * | 7 | * |
8 | * This program is distributed in the hope that it will be useful, | 8 | * This program is distributed in the hope that it will be useful, |
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
11 | * GNU General Public License for more details. | 11 | * GNU General Public License for more details. |
12 | * | 12 | * |
13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | #pragma once | 16 | #pragma once |
17 | 17 | ||
18 | /* USB Device descriptor parameter */ | 18 | /* USB Device descriptor parameter */ |
@@ -53,7 +53,7 @@ | |||
53 | 53 | ||
54 | #ifdef RGB_MATRIX_ENABLE | 54 | #ifdef RGB_MATRIX_ENABLE |
55 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 55 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
56 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 56 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
57 | # define RGB_MATRIX_KEYPRESSES | 57 | # define RGB_MATRIX_KEYPRESSES |
58 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 58 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
59 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 59 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
@@ -77,4 +77,3 @@ | |||
77 | # define DRIVER_1_LED_TOTAL 60 | 77 | # define DRIVER_1_LED_TOTAL 60 |
78 | # define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL | 78 | # define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL |
79 | #endif | 79 | #endif |
80 | |||
diff --git a/keyboards/le_chiffre/config.h b/keyboards/le_chiffre/config.h index e14b4665f..af4d1e49c 100644 --- a/keyboards/le_chiffre/config.h +++ b/keyboards/le_chiffre/config.h | |||
@@ -69,7 +69,7 @@ | |||
69 | 69 | ||
70 | #ifdef RGB_MATRIX_ENABLE | 70 | #ifdef RGB_MATRIX_ENABLE |
71 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 71 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
72 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 72 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
73 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 73 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
74 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. | 74 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. |
75 | #define RGB_MATRIX_HUE_STEP 8 | 75 | #define RGB_MATRIX_HUE_STEP 8 |
diff --git a/keyboards/marksard/rhymestone/rev1/config.h b/keyboards/marksard/rhymestone/rev1/config.h index 9a1bf0a1d..983392511 100644 --- a/keyboards/marksard/rhymestone/rev1/config.h +++ b/keyboards/marksard/rhymestone/rev1/config.h | |||
@@ -93,7 +93,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
93 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 93 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
94 | // #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 94 | // #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
95 | // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 95 | // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
96 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 96 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
97 | // #define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | 97 | // #define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) |
98 | // #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 98 | // #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
99 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 | 99 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 |
diff --git a/keyboards/massdrop/alt/keymaps/pregame/config.h b/keyboards/massdrop/alt/keymaps/pregame/config.h index acd041ce1..32dee56d3 100644 --- a/keyboards/massdrop/alt/keymaps/pregame/config.h +++ b/keyboards/massdrop/alt/keymaps/pregame/config.h | |||
@@ -89,7 +89,7 @@ | |||
89 | // #define RGBLIGHT_SAT_STEP 25 // Units to step when in/decreasing saturation | 89 | // #define RGBLIGHT_SAT_STEP 25 // Units to step when in/decreasing saturation |
90 | // #define RGBLIGHT_VAL_STEP 12 // Units to step when in/decreasing value (brightness) | 90 | // #define RGBLIGHT_VAL_STEP 12 // Units to step when in/decreasing value (brightness) |
91 | // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 91 | // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
92 | // #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended | 92 | // #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
93 | // #define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | 93 | // #define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) |
94 | // #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 94 | // #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
95 | #define RGBLIGHT_ANIMATIONS // Run RGB animations | 95 | #define RGBLIGHT_ANIMATIONS // Run RGB animations |
@@ -103,7 +103,7 @@ | |||
103 | // #define RGBLIGHT_EFFECT_RGB_TEST // Enable RGB test animation mode. | 103 | // #define RGBLIGHT_EFFECT_RGB_TEST // Enable RGB test animation mode. |
104 | // #define RGBLIGHT_EFFECT_SNAKE // Enable snake animation mode. | 104 | // #define RGBLIGHT_EFFECT_SNAKE // Enable snake animation mode. |
105 | // #define RGBLIGHT_EFFECT_STATIC_GRADIENT // Enable static gradient mode. | 105 | // #define RGBLIGHT_EFFECT_STATIC_GRADIENT // Enable static gradient mode. |
106 | 106 | ||
107 | // #define RGBLIGHT_EFFECT_BREATHE_CENTER // If defined, used to calculate the curve for the breathing animation. Valid values are 1.0 to 2.7 | 107 | // #define RGBLIGHT_EFFECT_BREATHE_CENTER // If defined, used to calculate the curve for the breathing animation. Valid values are 1.0 to 2.7 |
108 | // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // The maximum brightness for the breathing mode. Valid values are 1 to 255 | 108 | // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // The maximum brightness for the breathing mode. Valid values are 1 to 255 |
109 | // #define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 1000 // How long to wait between light changes for the "Christmas" animation, in milliseconds | 109 | // #define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 1000 // How long to wait between light changes for the "Christmas" animation, in milliseconds |
diff --git a/keyboards/massdrop/alt/keymaps/urbanvanilla/config.h b/keyboards/massdrop/alt/keymaps/urbanvanilla/config.h index 0f2740013..f2a7e5038 100644 --- a/keyboards/massdrop/alt/keymaps/urbanvanilla/config.h +++ b/keyboards/massdrop/alt/keymaps/urbanvanilla/config.h | |||
@@ -24,4 +24,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
24 | #define RGB_MATRIX_LED_PROCESS_LIMIT 15 | 24 | #define RGB_MATRIX_LED_PROCESS_LIMIT 15 |
25 | #define RGB_MATRIX_LED_FLUSH_LIMIT 10 | 25 | #define RGB_MATRIX_LED_FLUSH_LIMIT 10 |
26 | 26 | ||
27 | #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended | 27 | // #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
diff --git a/keyboards/massdrop/ctrl/keymaps/endgame/config.h b/keyboards/massdrop/ctrl/keymaps/endgame/config.h index 0ef485591..ad738347a 100644 --- a/keyboards/massdrop/ctrl/keymaps/endgame/config.h +++ b/keyboards/massdrop/ctrl/keymaps/endgame/config.h | |||
@@ -49,7 +49,7 @@ | |||
49 | // #define RGBLIGHT_SAT_STEP 25 // Units to step when in/decreasing saturation | 49 | // #define RGBLIGHT_SAT_STEP 25 // Units to step when in/decreasing saturation |
50 | // #define RGBLIGHT_VAL_STEP 12 // Units to step when in/decreasing value (brightness) | 50 | // #define RGBLIGHT_VAL_STEP 12 // Units to step when in/decreasing value (brightness) |
51 | // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 51 | // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
52 | // #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended | 52 | // #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
53 | // #define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | 53 | // #define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) |
54 | // #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 54 | // #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
55 | // #define RGBLIGHT_ANIMATIONS // Run RGB animations | 55 | // #define RGBLIGHT_ANIMATIONS // Run RGB animations |
diff --git a/keyboards/massdrop/ctrl/keymaps/matthewrobo/config.h b/keyboards/massdrop/ctrl/keymaps/matthewrobo/config.h index 6e16c3a5f..89c129c58 100644 --- a/keyboards/massdrop/ctrl/keymaps/matthewrobo/config.h +++ b/keyboards/massdrop/ctrl/keymaps/matthewrobo/config.h | |||
@@ -67,7 +67,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
67 | // #define RGBLIGHT_SAT_STEP 25 // Units to step when in/decreasing saturation | 67 | // #define RGBLIGHT_SAT_STEP 25 // Units to step when in/decreasing saturation |
68 | // #define RGBLIGHT_VAL_STEP 12 // Units to step when in/decreasing value (brightness) | 68 | // #define RGBLIGHT_VAL_STEP 12 // Units to step when in/decreasing value (brightness) |
69 | // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 69 | // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
70 | // #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended | 70 | // #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
71 | // #define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | 71 | // #define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) |
72 | // #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 72 | // #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
73 | // #define RGBLIGHT_ANIMATIONS // Run RGB animations | 73 | // #define RGBLIGHT_ANIMATIONS // Run RGB animations |
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev1/config.h b/keyboards/mechlovin/adelais/rgb_led/rev1/config.h index 1ba7d27df..d75cbd3f2 100644 --- a/keyboards/mechlovin/adelais/rgb_led/rev1/config.h +++ b/keyboards/mechlovin/adelais/rgb_led/rev1/config.h | |||
@@ -13,7 +13,7 @@ | |||
13 | #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 13 | #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
14 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 14 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
15 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 15 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
16 | #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended | 16 | // #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
17 | #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 17 | #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
18 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 220 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 | 18 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 220 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 |
19 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_PINWHEEL // Sets the default mode, if none has been set \ No newline at end of file | 19 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_PINWHEEL // Sets the default mode, if none has been set |
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev2/config.h b/keyboards/mechlovin/adelais/rgb_led/rev2/config.h index 38ffdd40a..c830edce2 100644 --- a/keyboards/mechlovin/adelais/rgb_led/rev2/config.h +++ b/keyboards/mechlovin/adelais/rgb_led/rev2/config.h | |||
@@ -1,7 +1,7 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | 2 | ||
3 | #define PRODUCT_ID 0xAEC2 | 3 | #define PRODUCT_ID 0xAEC2 |
4 | #define PRODUCT Adelais En Ciel Rev2 | 4 | #define PRODUCT Adelais En Ciel Rev2 |
5 | 5 | ||
6 | #define MATRIX_ROW_PINS { B1, A0, C13, A1, A2} | 6 | #define MATRIX_ROW_PINS { B1, A0, C13, A1, A2} |
7 | #define MATRIX_COL_PINS { A10, A9, A8, B15, B14, B13, B12, B11, B10, B8, B4, B5, B3, C14, A7 } | 7 | #define MATRIX_COL_PINS { A10, A9, A8, B15, B14, B13, B12, B11, B10, B8, B4, B5, B3, C14, A7 } |
@@ -31,7 +31,7 @@ | |||
31 | #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 31 | #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
32 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 32 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
33 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 33 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
34 | #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended | 34 | // #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
35 | #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 35 | #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
36 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 | 36 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 |
37 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_PINWHEEL // Sets the default mode, if none has been set | 37 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_PINWHEEL // Sets the default mode, if none has been set |
@@ -42,4 +42,4 @@ | |||
42 | #define ENCODERS_PAD_B { A3 } | 42 | #define ENCODERS_PAD_B { A3 } |
43 | #define ENCODER_RESOLUTION 4 | 43 | #define ENCODER_RESOLUTION 4 |
44 | 44 | ||
45 | #define TAP_CODE_DELAY 10 \ No newline at end of file | 45 | #define TAP_CODE_DELAY 10 |
diff --git a/keyboards/mechlovin/delphine/rgb_led/config.h b/keyboards/mechlovin/delphine/rgb_led/config.h index 4d5c853d0..9a653d759 100644 --- a/keyboards/mechlovin/delphine/rgb_led/config.h +++ b/keyboards/mechlovin/delphine/rgb_led/config.h | |||
@@ -24,7 +24,7 @@ | |||
24 | // #define RGBLIGHT_EFFECT_RGB_TEST | 24 | // #define RGBLIGHT_EFFECT_RGB_TEST |
25 | // #define RGBLIGHT_EFFECT_ALTERNATING | 25 | // #define RGBLIGHT_EFFECT_ALTERNATING |
26 | #endif | 26 | #endif |
27 | 27 | ||
28 | //rgb matrix setting// This is a 7-bit address, that gets left-shifted and bit 0 | 28 | //rgb matrix setting// This is a 7-bit address, that gets left-shifted and bit 0 |
29 | // set to 0 for write, 1 for read (as per I2C protocol) | 29 | // set to 0 for write, 1 for read (as per I2C protocol) |
30 | // The address will vary depending on your wiring: | 30 | // The address will vary depending on your wiring: |
@@ -41,7 +41,7 @@ | |||
41 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 41 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
42 | #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 42 | #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
43 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 43 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
44 | #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended | 44 | // #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
45 | #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 45 | #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
46 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 | 46 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 |
47 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_PINWHEEL // Sets the default mode, if none has been set | 47 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_PINWHEEL // Sets the default mode, if none has been set |
diff --git a/keyboards/mechlovin/hannah60rgb/rev1/config.h b/keyboards/mechlovin/hannah60rgb/rev1/config.h index 20873e716..fd45ecca6 100644 --- a/keyboards/mechlovin/hannah60rgb/rev1/config.h +++ b/keyboards/mechlovin/hannah60rgb/rev1/config.h | |||
@@ -11,8 +11,8 @@ | |||
11 | # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 11 | # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
12 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 12 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
13 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 13 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
14 | # define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended | 14 | // # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
15 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 15 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
16 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 | 16 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 |
17 | # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_PINWHEEL // Sets the default mode, if none has been set | 17 | # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_PINWHEEL // Sets the default mode, if none has been set |
18 | #endif \ No newline at end of file | 18 | #endif |
diff --git a/keyboards/mechlovin/hannah60rgb/rev2/config.h b/keyboards/mechlovin/hannah60rgb/rev2/config.h index 2bcffbc85..5e57f985d 100644 --- a/keyboards/mechlovin/hannah60rgb/rev2/config.h +++ b/keyboards/mechlovin/hannah60rgb/rev2/config.h | |||
@@ -30,11 +30,11 @@ | |||
30 | #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 30 | #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
31 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 31 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
32 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 32 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
33 | #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended | 33 | // #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
34 | #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 34 | #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
35 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 | 35 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 |
36 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_PINWHEEL // Sets the default mode, if none has been set | 36 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_PINWHEEL // Sets the default mode, if none has been set |
37 | 37 | ||
38 | #if defined(RGBLIGHT_ENABLE) && defined(RGB_MATRIX_ENABLE) | 38 | #if defined(RGBLIGHT_ENABLE) && defined(RGB_MATRIX_ENABLE) |
39 | # define RGB_MATRIX_DISABLE_KEYCODES | 39 | # define RGB_MATRIX_DISABLE_KEYCODES |
40 | #endif \ No newline at end of file | 40 | #endif |
diff --git a/keyboards/mechlovin/infinity87/rgb_rev1/config.h b/keyboards/mechlovin/infinity87/rgb_rev1/config.h index 0c16c684c..76c6e0db7 100644 --- a/keyboards/mechlovin/infinity87/rgb_rev1/config.h +++ b/keyboards/mechlovin/infinity87/rgb_rev1/config.h | |||
@@ -35,7 +35,7 @@ | |||
35 | // 0b0110001 AD <-> SCL | 35 | // 0b0110001 AD <-> SCL |
36 | // 0b0110010 AD <-> SDA | 36 | // 0b0110010 AD <-> SDA |
37 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 37 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
38 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 38 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
39 | #define RGB_MATRIX_KEYPRESSES | 39 | #define RGB_MATRIX_KEYPRESSES |
40 | #define DISABLE_RGB_MATRIX_SPLASH | 40 | #define DISABLE_RGB_MATRIX_SPLASH |
41 | #define DISABLE_RGB_MATRIX_MULTISPLASH | 41 | #define DISABLE_RGB_MATRIX_MULTISPLASH |
diff --git a/keyboards/melgeek/mj61/config.h b/keyboards/melgeek/mj61/config.h index 164c04fb5..6ba19dd75 100644 --- a/keyboards/melgeek/mj61/config.h +++ b/keyboards/melgeek/mj61/config.h | |||
@@ -37,7 +37,7 @@ | |||
37 | #define NO_ACTION_FUNCTION | 37 | #define NO_ACTION_FUNCTION |
38 | 38 | ||
39 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 39 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
40 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 40 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
41 | #define RGB_MATRIX_KEYPRESSES | 41 | #define RGB_MATRIX_KEYPRESSES |
42 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 | 42 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 |
43 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 | 43 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 |
diff --git a/keyboards/melgeek/mj63/config.h b/keyboards/melgeek/mj63/config.h index 47ad2f96c..46d3b0fb7 100644 --- a/keyboards/melgeek/mj63/config.h +++ b/keyboards/melgeek/mj63/config.h | |||
@@ -37,7 +37,7 @@ | |||
37 | #define NO_ACTION_FUNCTION | 37 | #define NO_ACTION_FUNCTION |
38 | 38 | ||
39 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 39 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
40 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 40 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
41 | #define RGB_MATRIX_KEYPRESSES | 41 | #define RGB_MATRIX_KEYPRESSES |
42 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 | 42 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 |
43 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 | 43 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 |
diff --git a/keyboards/melgeek/mj64/config.h b/keyboards/melgeek/mj64/config.h index 29cb95f17..920d34acd 100644 --- a/keyboards/melgeek/mj64/config.h +++ b/keyboards/melgeek/mj64/config.h | |||
@@ -37,7 +37,7 @@ | |||
37 | #define NO_ACTION_FUNCTION | 37 | #define NO_ACTION_FUNCTION |
38 | 38 | ||
39 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 39 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
40 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 40 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
41 | #define RGB_MATRIX_KEYPRESSES | 41 | #define RGB_MATRIX_KEYPRESSES |
42 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 | 42 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 |
43 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 | 43 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 |
diff --git a/keyboards/melgeek/mj65/config.h b/keyboards/melgeek/mj65/config.h index 12a7c7ce1..399c243ac 100644 --- a/keyboards/melgeek/mj65/config.h +++ b/keyboards/melgeek/mj65/config.h | |||
@@ -37,7 +37,7 @@ | |||
37 | #define NO_ACTION_FUNCTION | 37 | #define NO_ACTION_FUNCTION |
38 | 38 | ||
39 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 39 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
40 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 40 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
41 | #define RGB_MATRIX_KEYPRESSES | 41 | #define RGB_MATRIX_KEYPRESSES |
42 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 | 42 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 |
43 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 | 43 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 |
diff --git a/keyboards/melgeek/mojo75/config.h b/keyboards/melgeek/mojo75/config.h index c1a8083f1..d5bb4b454 100644 --- a/keyboards/melgeek/mojo75/config.h +++ b/keyboards/melgeek/mojo75/config.h | |||
@@ -37,7 +37,7 @@ | |||
37 | #define NO_ACTION_FUNCTION | 37 | #define NO_ACTION_FUNCTION |
38 | 38 | ||
39 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 39 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
40 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 40 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
41 | #define RGB_MATRIX_KEYPRESSES | 41 | #define RGB_MATRIX_KEYPRESSES |
42 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 | 42 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 |
43 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 | 43 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 |
diff --git a/keyboards/melgeek/z70ultra/config.h b/keyboards/melgeek/z70ultra/config.h index d5a9d0a89..e4530e2ea 100644 --- a/keyboards/melgeek/z70ultra/config.h +++ b/keyboards/melgeek/z70ultra/config.h | |||
@@ -36,7 +36,7 @@ | |||
36 | #define NO_ACTION_FUNCTION | 36 | #define NO_ACTION_FUNCTION |
37 | 37 | ||
38 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 38 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
39 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 39 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
40 | #define RGB_MATRIX_KEYPRESSES | 40 | #define RGB_MATRIX_KEYPRESSES |
41 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 | 41 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 |
42 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 | 42 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 |
diff --git a/keyboards/miller/gm862/config.h b/keyboards/miller/gm862/config.h index 2b084efc2..e6e1b4c1d 100644 --- a/keyboards/miller/gm862/config.h +++ b/keyboards/miller/gm862/config.h | |||
@@ -36,10 +36,10 @@ | |||
36 | #define DEBOUNCE 3 | 36 | #define DEBOUNCE 3 |
37 | #ifdef RGB_MATRIX_ENABLE | 37 | #ifdef RGB_MATRIX_ENABLE |
38 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 38 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
39 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 39 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
40 | # define RGB_MATRIX_KEYPRESSES | 40 | # define RGB_MATRIX_KEYPRESSES |
41 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 41 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
42 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 42 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
43 | # define DISABLE_RGB_MATRIX_BAND_SAT | 43 | # define DISABLE_RGB_MATRIX_BAND_SAT |
44 | # define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | 44 | # define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT |
45 | # define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT | 45 | # define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT |
diff --git a/keyboards/monstargear/xo87/rgb/config.h b/keyboards/monstargear/xo87/rgb/config.h index 83eee8349..5ed0ed445 100644 --- a/keyboards/monstargear/xo87/rgb/config.h +++ b/keyboards/monstargear/xo87/rgb/config.h | |||
@@ -36,7 +36,7 @@ | |||
36 | #define DIODE_DIRECTION ROW2COL | 36 | #define DIODE_DIRECTION ROW2COL |
37 | #define RGB_DI_PIN D7 | 37 | #define RGB_DI_PIN D7 |
38 | #define DRIVER_LED_TOTAL 110 | 38 | #define DRIVER_LED_TOTAL 110 |
39 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true | 39 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
40 | 40 | ||
41 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 100 // limits maximum brightness of LEDs to 100 out of 255. | 41 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 100 // limits maximum brightness of LEDs to 100 out of 255. |
42 | #define RGBLIGHT_LIMIT_VAL 100 // limits maximum brightness of LEDs to 100 out of 255. | 42 | #define RGBLIGHT_LIMIT_VAL 100 // limits maximum brightness of LEDs to 100 out of 255. |
diff --git a/keyboards/moonlander/config.h b/keyboards/moonlander/config.h index c88feea3d..c1a139dc7 100644 --- a/keyboards/moonlander/config.h +++ b/keyboards/moonlander/config.h | |||
@@ -91,7 +91,7 @@ | |||
91 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 175 | 91 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 175 |
92 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 92 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
93 | #define RGB_MATRIX_KEYPRESSES | 93 | #define RGB_MATRIX_KEYPRESSES |
94 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true | 94 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
95 | 95 | ||
96 | #define MUSIC_MAP | 96 | #define MUSIC_MAP |
97 | 97 | ||
diff --git a/keyboards/naked48/keymaps/salicylic/config.h b/keyboards/naked48/keymaps/salicylic/config.h index b6372db3b..71a43e208 100644 --- a/keyboards/naked48/keymaps/salicylic/config.h +++ b/keyboards/naked48/keymaps/salicylic/config.h | |||
@@ -31,7 +31,7 @@ | |||
31 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 31 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
32 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 32 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
33 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 33 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
34 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 34 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
35 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | 35 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) |
36 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 36 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
37 | // # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 | 37 | // # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 |
@@ -41,4 +41,3 @@ | |||
41 | # define RGB_MATRIX_VAL_STEP 5 | 41 | # define RGB_MATRIX_VAL_STEP 5 |
42 | # define RGB_MATRIX_SPD_STEP 10 | 42 | # define RGB_MATRIX_SPD_STEP 10 |
43 | #endif | 43 | #endif |
44 | |||
diff --git a/keyboards/opendeck/32/rev1/config.h b/keyboards/opendeck/32/rev1/config.h index 9f8ed7427..8b25ab256 100644 --- a/keyboards/opendeck/32/rev1/config.h +++ b/keyboards/opendeck/32/rev1/config.h | |||
@@ -38,7 +38,7 @@ | |||
38 | #define DRIVER_COUNT 1 | 38 | #define DRIVER_COUNT 1 |
39 | #define DRIVER_1_LED_TOTAL (4 * 8 * 3) | 39 | #define DRIVER_1_LED_TOTAL (4 * 8 * 3) |
40 | #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL) | 40 | #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL) |
41 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true | 41 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
42 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_SPIRAL | 42 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_SPIRAL |
43 | #define RGB_MATRIX_DISABLE_KEYCODES | 43 | #define RGB_MATRIX_DISABLE_KEYCODES |
44 | 44 | ||
diff --git a/keyboards/percent/canoe_gen2/config.h b/keyboards/percent/canoe_gen2/config.h index bac5ebb3f..6409371d4 100644 --- a/keyboards/percent/canoe_gen2/config.h +++ b/keyboards/percent/canoe_gen2/config.h | |||
@@ -64,4 +64,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
64 | #define RGB_MATRIX_STARTUP_SAT 255 | 64 | #define RGB_MATRIX_STARTUP_SAT 255 |
65 | #define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | 65 | #define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS |
66 | #define RGB_MATRIX_STARTUP_SPD 127 | 66 | #define RGB_MATRIX_STARTUP_SPD 127 |
67 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true | 67 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
diff --git a/keyboards/phase_studio/titan65/config.h b/keyboards/phase_studio/titan65/config.h index 4104c2ec2..66ae4f20b 100644 --- a/keyboards/phase_studio/titan65/config.h +++ b/keyboards/phase_studio/titan65/config.h | |||
@@ -47,5 +47,5 @@ | |||
47 | #define RGB_DI_PIN E6 | 47 | #define RGB_DI_PIN E6 |
48 | #define DRIVER_LED_TOTAL 67 | 48 | #define DRIVER_LED_TOTAL 67 |
49 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 49 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
50 | #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended | 50 | // #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
51 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 | 51 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 |
diff --git a/keyboards/planck/ez/config.h b/keyboards/planck/ez/config.h index 7f8876496..5317a5156 100644 --- a/keyboards/planck/ez/config.h +++ b/keyboards/planck/ez/config.h | |||
@@ -147,7 +147,7 @@ | |||
147 | 147 | ||
148 | #define RGB_MATRIX_KEYPRESSES | 148 | #define RGB_MATRIX_KEYPRESSES |
149 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 149 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
150 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true | 150 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
151 | 151 | ||
152 | #define RGB_MATRIX_LED_PROCESS_LIMIT 5 | 152 | #define RGB_MATRIX_LED_PROCESS_LIMIT 5 |
153 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 | 153 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 |
diff --git a/keyboards/planck/rev6/config.h b/keyboards/planck/rev6/config.h index 4bc8a509f..18bb74096 100644 --- a/keyboards/planck/rev6/config.h +++ b/keyboards/planck/rev6/config.h | |||
@@ -141,7 +141,7 @@ | |||
141 | #define WS2812_DMA_CHANNEL 2 | 141 | #define WS2812_DMA_CHANNEL 2 |
142 | 142 | ||
143 | #ifndef RGB_DISABLE_WHEN_USB_SUSPENDED | 143 | #ifndef RGB_DISABLE_WHEN_USB_SUSPENDED |
144 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true | 144 | # define RGB_DISABLE_WHEN_USB_SUSPENDED |
145 | #endif | 145 | #endif |
146 | 146 | ||
147 | #endif | 147 | #endif |
diff --git a/keyboards/setta21/keymaps/salicylic/config.h b/keyboards/setta21/keymaps/salicylic/config.h index 44b34aa2f..06e23ba7a 100644 --- a/keyboards/setta21/keymaps/salicylic/config.h +++ b/keyboards/setta21/keymaps/salicylic/config.h | |||
@@ -27,7 +27,7 @@ | |||
27 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 27 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
28 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 28 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
29 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 29 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
30 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 30 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
31 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | 31 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) |
32 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 32 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
33 | // # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 | 33 | // # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 |
@@ -37,4 +37,3 @@ | |||
37 | # define RGB_MATRIX_VAL_STEP 5 | 37 | # define RGB_MATRIX_VAL_STEP 5 |
38 | # define RGB_MATRIX_SPD_STEP 10 | 38 | # define RGB_MATRIX_SPD_STEP 10 |
39 | #endif | 39 | #endif |
40 | |||
diff --git a/keyboards/sofle/keymaps/devdev/config.h b/keyboards/sofle/keymaps/devdev/config.h index 7d597d991..32d071735 100644 --- a/keyboards/sofle/keymaps/devdev/config.h +++ b/keyboards/sofle/keymaps/devdev/config.h | |||
@@ -1,18 +1,18 @@ | |||
1 | /* Copyright 2021 Dane Evans | 1 | /* Copyright 2021 Dane Evans |
2 | * | 2 | * |
3 | * This program is free software: you can redistribute it and/or modify | 3 | * This program is free software: you can redistribute it and/or modify |
4 | * it under the terms of the GNU General Public License as published by | 4 | * it under the terms of the GNU General Public License as published by |
5 | * the Free Software Foundation, either version 2 of the License, or | 5 | * the Free Software Foundation, either version 2 of the License, or |
6 | * (at your option) any later version. | 6 | * (at your option) any later version. |
7 | * | 7 | * |
8 | * This program is distributed in the hope that it will be useful, | 8 | * This program is distributed in the hope that it will be useful, |
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
11 | * GNU General Public License for more details. | 11 | * GNU General Public License for more details. |
12 | * | 12 | * |
13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | #pragma once | 16 | #pragma once |
17 | 17 | ||
18 | 18 | ||
@@ -29,7 +29,7 @@ | |||
29 | 29 | ||
30 | #define CUSTOM_FONT | 30 | #define CUSTOM_FONT |
31 | 31 | ||
32 | #define CUSTOM_LAYER_READ //if you remove this it causes issues - needs better guarding | 32 | #define CUSTOM_LAYER_READ //if you remove this it causes issues - needs better guarding |
33 | 33 | ||
34 | 34 | ||
35 | #define TAPPING_FORCE_HOLD | 35 | #define TAPPING_FORCE_HOLD |
@@ -56,7 +56,7 @@ | |||
56 | 56 | ||
57 | #ifdef RGBLIGHT_ENABLE | 57 | #ifdef RGBLIGHT_ENABLE |
58 | #undef RGBLED_NUM | 58 | #undef RGBLED_NUM |
59 | 59 | ||
60 | //#define RGBLIGHT_ANIMATIONS | 60 | //#define RGBLIGHT_ANIMATIONS |
61 | //#define RGBLIGHT_EFFECT_BREATHING | 61 | //#define RGBLIGHT_EFFECT_BREATHING |
62 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 62 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
@@ -68,11 +68,11 @@ | |||
68 | //#define RGBLIGHT_EFFECT_RGB_TEST | 68 | //#define RGBLIGHT_EFFECT_RGB_TEST |
69 | //#define RGBLIGHT_EFFECT_ALTERNATING | 69 | //#define RGBLIGHT_EFFECT_ALTERNATING |
70 | //#define RGBLIGHT_EFFECT_TWINKLE | 70 | //#define RGBLIGHT_EFFECT_TWINKLE |
71 | 71 | ||
72 | #define RGBLED_NUM 70 | 72 | #define RGBLED_NUM 70 |
73 | //#define RGBLED_SPLIT | 73 | //#define RGBLED_SPLIT |
74 | #define RGBLED_SPLIT { 35, 35 } // haven't figured out how to use this yet | 74 | #define RGBLED_SPLIT { 35, 35 } // haven't figured out how to use this yet |
75 | 75 | ||
76 | //#define RGBLED_NUM 30 | 76 | //#define RGBLED_NUM 30 |
77 | #define RGBLIGHT_LIMIT_VAL 120 | 77 | #define RGBLIGHT_LIMIT_VAL 120 |
78 | #define RGBLIGHT_HUE_STEP 10 | 78 | #define RGBLIGHT_HUE_STEP 10 |
@@ -84,11 +84,11 @@ | |||
84 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 84 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
85 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 85 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
86 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 86 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
87 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 87 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
88 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 88 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
89 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | 89 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) |
90 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 90 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
91 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. | 91 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. |
92 | 92 | ||
93 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_GRADIENT_LEFT_RIGHT | 93 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_GRADIENT_LEFT_RIGHT |
94 | 94 | ||
@@ -127,4 +127,4 @@ | |||
127 | // # define DISABLE_RGB_MATRIX_MULTISPLASH | 127 | // # define DISABLE_RGB_MATRIX_MULTISPLASH |
128 | // # define DISABLE_RGB_MATRIX_SOLID_SPLASH | 128 | // # define DISABLE_RGB_MATRIX_SOLID_SPLASH |
129 | // # define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH | 129 | // # define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH |
130 | #endif \ No newline at end of file | 130 | #endif |
diff --git a/keyboards/sofle/keymaps/rgb_default/config.h b/keyboards/sofle/keymaps/rgb_default/config.h index 7d597d991..32d071735 100644 --- a/keyboards/sofle/keymaps/rgb_default/config.h +++ b/keyboards/sofle/keymaps/rgb_default/config.h | |||
@@ -1,18 +1,18 @@ | |||
1 | /* Copyright 2021 Dane Evans | 1 | /* Copyright 2021 Dane Evans |
2 | * | 2 | * |
3 | * This program is free software: you can redistribute it and/or modify | 3 | * This program is free software: you can redistribute it and/or modify |
4 | * it under the terms of the GNU General Public License as published by | 4 | * it under the terms of the GNU General Public License as published by |
5 | * the Free Software Foundation, either version 2 of the License, or | 5 | * the Free Software Foundation, either version 2 of the License, or |
6 | * (at your option) any later version. | 6 | * (at your option) any later version. |
7 | * | 7 | * |
8 | * This program is distributed in the hope that it will be useful, | 8 | * This program is distributed in the hope that it will be useful, |
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
11 | * GNU General Public License for more details. | 11 | * GNU General Public License for more details. |
12 | * | 12 | * |
13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | #pragma once | 16 | #pragma once |
17 | 17 | ||
18 | 18 | ||
@@ -29,7 +29,7 @@ | |||
29 | 29 | ||
30 | #define CUSTOM_FONT | 30 | #define CUSTOM_FONT |
31 | 31 | ||
32 | #define CUSTOM_LAYER_READ //if you remove this it causes issues - needs better guarding | 32 | #define CUSTOM_LAYER_READ //if you remove this it causes issues - needs better guarding |
33 | 33 | ||
34 | 34 | ||
35 | #define TAPPING_FORCE_HOLD | 35 | #define TAPPING_FORCE_HOLD |
@@ -56,7 +56,7 @@ | |||
56 | 56 | ||
57 | #ifdef RGBLIGHT_ENABLE | 57 | #ifdef RGBLIGHT_ENABLE |
58 | #undef RGBLED_NUM | 58 | #undef RGBLED_NUM |
59 | 59 | ||
60 | //#define RGBLIGHT_ANIMATIONS | 60 | //#define RGBLIGHT_ANIMATIONS |
61 | //#define RGBLIGHT_EFFECT_BREATHING | 61 | //#define RGBLIGHT_EFFECT_BREATHING |
62 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 62 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
@@ -68,11 +68,11 @@ | |||
68 | //#define RGBLIGHT_EFFECT_RGB_TEST | 68 | //#define RGBLIGHT_EFFECT_RGB_TEST |
69 | //#define RGBLIGHT_EFFECT_ALTERNATING | 69 | //#define RGBLIGHT_EFFECT_ALTERNATING |
70 | //#define RGBLIGHT_EFFECT_TWINKLE | 70 | //#define RGBLIGHT_EFFECT_TWINKLE |
71 | 71 | ||
72 | #define RGBLED_NUM 70 | 72 | #define RGBLED_NUM 70 |
73 | //#define RGBLED_SPLIT | 73 | //#define RGBLED_SPLIT |
74 | #define RGBLED_SPLIT { 35, 35 } // haven't figured out how to use this yet | 74 | #define RGBLED_SPLIT { 35, 35 } // haven't figured out how to use this yet |
75 | 75 | ||
76 | //#define RGBLED_NUM 30 | 76 | //#define RGBLED_NUM 30 |
77 | #define RGBLIGHT_LIMIT_VAL 120 | 77 | #define RGBLIGHT_LIMIT_VAL 120 |
78 | #define RGBLIGHT_HUE_STEP 10 | 78 | #define RGBLIGHT_HUE_STEP 10 |
@@ -84,11 +84,11 @@ | |||
84 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 84 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
85 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 85 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
86 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 86 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
87 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 87 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
88 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 88 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
89 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | 89 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) |
90 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 90 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
91 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. | 91 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. |
92 | 92 | ||
93 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_GRADIENT_LEFT_RIGHT | 93 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_GRADIENT_LEFT_RIGHT |
94 | 94 | ||
@@ -127,4 +127,4 @@ | |||
127 | // # define DISABLE_RGB_MATRIX_MULTISPLASH | 127 | // # define DISABLE_RGB_MATRIX_MULTISPLASH |
128 | // # define DISABLE_RGB_MATRIX_SOLID_SPLASH | 128 | // # define DISABLE_RGB_MATRIX_SOLID_SPLASH |
129 | // # define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH | 129 | // # define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH |
130 | #endif \ No newline at end of file | 130 | #endif |
diff --git a/keyboards/terrazzo/config.h b/keyboards/terrazzo/config.h index 985110d16..907c94ff5 100644 --- a/keyboards/terrazzo/config.h +++ b/keyboards/terrazzo/config.h | |||
@@ -83,13 +83,13 @@ so there is only one configuration. */ | |||
83 | 83 | ||
84 | #ifdef LED_MATRIX_ENABLE | 84 | #ifdef LED_MATRIX_ENABLE |
85 | 85 | ||
86 | #define LED_DRIVER_ADDR_1 0x74 | 86 | #define LED_DRIVER_ADDR_1 0x74 |
87 | #define LED_DRIVER_COUNT 1 | 87 | #define LED_DRIVER_COUNT 1 |
88 | #define DRIVER_LED_TOTAL 105 | 88 | #define DRIVER_LED_TOTAL 105 |
89 | #define LED_MATRIX_ROWS 15 | 89 | #define LED_MATRIX_ROWS 15 |
90 | #define LED_MATRIX_COLS 7 | 90 | #define LED_MATRIX_COLS 7 |
91 | #define LED_MATRIX_MAXIMUM_BRIGHTNESS 20 | 91 | #define LED_MATRIX_MAXIMUM_BRIGHTNESS 20 |
92 | #define LED_DISABLE_WHEN_USB_SUSPENDED true | 92 | #define LED_DISABLE_WHEN_USB_SUSPENDED |
93 | 93 | ||
94 | #define DISABLE_LED_MATRIX_ALPHAS_MODS | 94 | #define DISABLE_LED_MATRIX_ALPHAS_MODS |
95 | #define DISABLE_LED_MATRIX_BREATHING | 95 | #define DISABLE_LED_MATRIX_BREATHING |
diff --git a/keyboards/tkc/portico/config.h b/keyboards/tkc/portico/config.h index 4a7da833f..ef6e46658 100644 --- a/keyboards/tkc/portico/config.h +++ b/keyboards/tkc/portico/config.h | |||
@@ -45,7 +45,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
45 | # define RGB_MATRIX_LED_FLUSH_LIMIT 26 | 45 | # define RGB_MATRIX_LED_FLUSH_LIMIT 26 |
46 | # define DEBOUNCE 3 | 46 | # define DEBOUNCE 3 |
47 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 47 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
48 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 48 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
49 | # define RGB_MATRIX_KEYPRESSES | 49 | # define RGB_MATRIX_KEYPRESSES |
50 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 50 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
51 | # define DISABLE_RGB_MATRIX_BAND_SAT | 51 | # define DISABLE_RGB_MATRIX_BAND_SAT |
diff --git a/keyboards/xbows/nature/config.h b/keyboards/xbows/nature/config.h index c1ff79335..e321f7ee1 100644 --- a/keyboards/xbows/nature/config.h +++ b/keyboards/xbows/nature/config.h | |||
@@ -35,7 +35,7 @@ | |||
35 | # define RGB_MATRIX_LED_PROCESS_LIMIT 18 | 35 | # define RGB_MATRIX_LED_PROCESS_LIMIT 18 |
36 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 | 36 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 |
37 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 37 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
38 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 38 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
39 | # define RGB_MATRIX_KEYPRESSES | 39 | # define RGB_MATRIX_KEYPRESSES |
40 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 | 40 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 |
41 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 41 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
diff --git a/keyboards/xbows/woody/config.h b/keyboards/xbows/woody/config.h index 7f396d000..ea27508da 100644 --- a/keyboards/xbows/woody/config.h +++ b/keyboards/xbows/woody/config.h | |||
@@ -16,10 +16,10 @@ | |||
16 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 | 16 | #define RGB_MATRIX_LED_FLUSH_LIMIT 26 |
17 | #define DEBOUNCE 3 | 17 | #define DEBOUNCE 3 |
18 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 18 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
19 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 19 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
20 | #define RGB_MATRIX_KEYPRESSES | 20 | #define RGB_MATRIX_KEYPRESSES |
21 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 | 21 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 |
22 | #define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 22 | #define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
23 | #define DISABLE_RGB_MATRIX_BAND_SAT | 23 | #define DISABLE_RGB_MATRIX_BAND_SAT |
24 | #define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | 24 | #define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT |
25 | #define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT | 25 | #define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT |
@@ -40,4 +40,4 @@ | |||
40 | #define DRIVER_1_LED_TOTAL 35 | 40 | #define DRIVER_1_LED_TOTAL 35 |
41 | #define DRIVER_2_LED_TOTAL 32 | 41 | #define DRIVER_2_LED_TOTAL 32 |
42 | #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) | 42 | #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) |
43 | #endif \ No newline at end of file | 43 | #endif |
diff --git a/keyboards/yncognito/batpad/config.h b/keyboards/yncognito/batpad/config.h index 02c84a514..7ca4072e0 100644 --- a/keyboards/yncognito/batpad/config.h +++ b/keyboards/yncognito/batpad/config.h | |||
@@ -47,13 +47,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
47 | 47 | ||
48 | #define RGB_DI_PIN B5 | 48 | #define RGB_DI_PIN B5 |
49 | #define DRIVER_LED_TOTAL 8 | 49 | #define DRIVER_LED_TOTAL 8 |
50 | #define RGB_MATRIX_KEYPRESSES | 50 | #define RGB_MATRIX_KEYPRESSES |
51 | #define RGB_MATRIX_KEYRELEASES | 51 | #define RGB_MATRIX_KEYRELEASES |
52 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 52 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
53 | #define RGB_DISABLE_AFTER_TIMEOUT 0 | 53 | #define RGB_DISABLE_AFTER_TIMEOUT 0 |
54 | #define RGB_DISABLE_WHEN_USB_SUSPENDED false | 54 | // #define RGB_DISABLE_WHEN_USB_SUSPENDED |
55 | #define RGB_MATRIX_LED_FLUSH_LIMIT 16 | 55 | #define RGB_MATRIX_LED_FLUSH_LIMIT 16 |
56 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 | 56 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 |
57 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL | 57 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL |
58 | |||
59 | |||
diff --git a/layouts/community/ortho_4x12/bocaj/config.h b/layouts/community/ortho_4x12/bocaj/config.h index 9a65684f3..c9d297f92 100644 --- a/layouts/community/ortho_4x12/bocaj/config.h +++ b/layouts/community/ortho_4x12/bocaj/config.h | |||
@@ -24,7 +24,7 @@ | |||
24 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 24 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
25 | // #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 |
26 | // #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 | 26 | // #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 |
27 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 27 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
28 | # undef RGB_MATRIX_LED_PROCESS_LIMIT | 28 | # undef RGB_MATRIX_LED_PROCESS_LIMIT |
29 | # undef RGB_MATRIX_LED_FLUSH_LIMIT | 29 | # undef RGB_MATRIX_LED_FLUSH_LIMIT |
30 | #endif | 30 | #endif |
diff --git a/layouts/community/ortho_4x12/drashna/config.h b/layouts/community/ortho_4x12/drashna/config.h index f4abd64f5..43143c3a3 100644 --- a/layouts/community/ortho_4x12/drashna/config.h +++ b/layouts/community/ortho_4x12/drashna/config.h | |||
@@ -37,7 +37,7 @@ | |||
37 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 37 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
38 | // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 38 | // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
39 | // #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 | 39 | // #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 |
40 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 40 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
41 | # undef RGB_MATRIX_LED_PROCESS_LIMIT | 41 | # undef RGB_MATRIX_LED_PROCESS_LIMIT |
42 | # undef RGB_MATRIX_LED_FLUSH_LIMIT | 42 | # undef RGB_MATRIX_LED_FLUSH_LIMIT |
43 | # ifdef KEYBOARD_planck_rev6 | 43 | # ifdef KEYBOARD_planck_rev6 |
diff --git a/layouts/community/split_3x6_3/drashna/config.h b/layouts/community/split_3x6_3/drashna/config.h index dd950ce7b..cc53d4c36 100644 --- a/layouts/community/split_3x6_3/drashna/config.h +++ b/layouts/community/split_3x6_3/drashna/config.h | |||
@@ -47,7 +47,7 @@ | |||
47 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 47 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
48 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 48 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
49 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 49 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
50 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 50 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
51 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | 51 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) |
52 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 52 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
53 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 | 53 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 |
diff --git a/quantum/led_matrix.c b/quantum/led_matrix.c index 7e0fdf896..942e6d7dc 100644 --- a/quantum/led_matrix.c +++ b/quantum/led_matrix.c | |||
@@ -67,10 +67,6 @@ const led_point_t k_led_matrix_center = LED_MATRIX_CENTER; | |||
67 | # define LED_DISABLE_TIMEOUT 0 | 67 | # define LED_DISABLE_TIMEOUT 0 |
68 | #endif | 68 | #endif |
69 | 69 | ||
70 | #if LED_DISABLE_WHEN_USB_SUSPENDED != 1 | ||
71 | # undef LED_DISABLE_WHEN_USB_SUSPENDED | ||
72 | #endif | ||
73 | |||
74 | #if !defined(LED_MATRIX_MAXIMUM_BRIGHTNESS) || LED_MATRIX_MAXIMUM_BRIGHTNESS > UINT8_MAX | 70 | #if !defined(LED_MATRIX_MAXIMUM_BRIGHTNESS) || LED_MATRIX_MAXIMUM_BRIGHTNESS > UINT8_MAX |
75 | # undef LED_MATRIX_MAXIMUM_BRIGHTNESS | 71 | # undef LED_MATRIX_MAXIMUM_BRIGHTNESS |
76 | # define LED_MATRIX_MAXIMUM_BRIGHTNESS UINT8_MAX | 72 | # define LED_MATRIX_MAXIMUM_BRIGHTNESS UINT8_MAX |
diff --git a/quantum/rgb_matrix.c b/quantum/rgb_matrix.c index ab8dbd849..27f641797 100644 --- a/quantum/rgb_matrix.c +++ b/quantum/rgb_matrix.c | |||
@@ -67,10 +67,6 @@ __attribute__((weak)) RGB rgb_matrix_hsv_to_rgb(HSV hsv) { return hsv_to_rgb(hsv | |||
67 | # define RGB_DISABLE_TIMEOUT 0 | 67 | # define RGB_DISABLE_TIMEOUT 0 |
68 | #endif | 68 | #endif |
69 | 69 | ||
70 | #if RGB_DISABLE_WHEN_USB_SUSPENDED != 1 | ||
71 | # undef RGB_DISABLE_WHEN_USB_SUSPENDED | ||
72 | #endif | ||
73 | |||
74 | #if !defined(RGB_MATRIX_MAXIMUM_BRIGHTNESS) || RGB_MATRIX_MAXIMUM_BRIGHTNESS > UINT8_MAX | 70 | #if !defined(RGB_MATRIX_MAXIMUM_BRIGHTNESS) || RGB_MATRIX_MAXIMUM_BRIGHTNESS > UINT8_MAX |
75 | # undef RGB_MATRIX_MAXIMUM_BRIGHTNESS | 71 | # undef RGB_MATRIX_MAXIMUM_BRIGHTNESS |
76 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS UINT8_MAX | 72 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS UINT8_MAX |
diff --git a/users/bcat/config.h b/users/bcat/config.h index 16188950e..5bb93f383 100644 --- a/users/bcat/config.h +++ b/users/bcat/config.h | |||
@@ -33,7 +33,7 @@ | |||
33 | 33 | ||
34 | #if defined(RGB_MATRIX_ENABLE) | 34 | #if defined(RGB_MATRIX_ENABLE) |
35 | /* Turn off per-key RGB when the host goes to sleep. */ | 35 | /* Turn off per-key RGB when the host goes to sleep. */ |
36 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true | 36 | # define RGB_DISABLE_WHEN_USB_SUSPENDED |
37 | 37 | ||
38 | /* Keep per-key RGB increments consistent across keyboards. */ | 38 | /* Keep per-key RGB increments consistent across keyboards. */ |
39 | # undef RGB_MATRIX_HUE_STEP | 39 | # undef RGB_MATRIX_HUE_STEP |
diff --git a/users/bocaj/config.h b/users/bocaj/config.h index 2a44aabfc..ecfb09c6f 100644 --- a/users/bocaj/config.h +++ b/users/bocaj/config.h | |||
@@ -28,7 +28,7 @@ | |||
28 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (not recommened) | 28 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (not recommened) |
29 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 29 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
30 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 30 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
31 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 31 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
32 | // # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 | 32 | // # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 |
33 | // # define EECONFIG_RGB_MATRIX (uint32_t *)16 | 33 | // # define EECONFIG_RGB_MATRIX (uint32_t *)16 |
34 | 34 | ||
diff --git a/users/curry/config.h b/users/curry/config.h index b982dab03..e3c0a103e 100644 --- a/users/curry/config.h +++ b/users/curry/config.h | |||
@@ -17,7 +17,7 @@ | |||
17 | #if defined(RGB_MATRIX_ENABLE) | 17 | #if defined(RGB_MATRIX_ENABLE) |
18 | # define RGB_MATRIX_KEYPRESSES | 18 | # define RGB_MATRIX_KEYPRESSES |
19 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 19 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
20 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true | 20 | # define RGB_DISABLE_WHEN_USB_SUSPENDED |
21 | 21 | ||
22 | # define DISABLE_RGB_MATRIX_ALPHAS_MODS | 22 | # define DISABLE_RGB_MATRIX_ALPHAS_MODS |
23 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 23 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
diff --git a/users/drashna/config.h b/users/drashna/config.h index 5f7c32ff3..796485689 100644 --- a/users/drashna/config.h +++ b/users/drashna/config.h | |||
@@ -65,7 +65,7 @@ | |||
65 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (not recommened) | 65 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (not recommened) |
66 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS | 66 | # define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
67 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 67 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
68 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 68 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
69 | // # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 | 69 | // # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 |
70 | // # define EECONFIG_RGB_MATRIX (uint32_t *)16 | 70 | // # define EECONFIG_RGB_MATRIX (uint32_t *)16 |
71 | 71 | ||
diff --git a/users/spidey3/config.h b/users/spidey3/config.h index 7062fde03..f5f5e07f0 100644 --- a/users/spidey3/config.h +++ b/users/spidey3/config.h | |||
@@ -1,7 +1,7 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | 2 | ||
3 | #define LED_DISABLE_WHEN_USB_SUSPENDED true | 3 | #define LED_DISABLE_WHEN_USB_SUSPENDED |
4 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true | 4 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
5 | #define RGBLIGHT_LAYERS | 5 | #define RGBLIGHT_LAYERS |
6 | #define RGBLIGHT_MAX_LAYERS 17 | 6 | #define RGBLIGHT_MAX_LAYERS 17 |
7 | #define RGBLIGHT_LAYER_BLINK | 7 | #define RGBLIGHT_LAYER_BLINK |
diff --git a/users/tominabox1/config.h b/users/tominabox1/config.h index 2a8c1e943..004f58ab5 100644 --- a/users/tominabox1/config.h +++ b/users/tominabox1/config.h | |||
@@ -31,7 +31,7 @@ | |||
31 | // RGB_Matrix settings | 31 | // RGB_Matrix settings |
32 | #ifdef RGB_MATRIX_ENABLE | 32 | #ifdef RGB_MATRIX_ENABLE |
33 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 33 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
34 | #define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | 34 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
35 | #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | 35 | #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) |
36 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. | 36 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. |
37 | #define RGB_MATRIX_HUE_STEP 8 | 37 | #define RGB_MATRIX_HUE_STEP 8 |