diff options
| author | Drashna Jaelre <drashna@live.com> | 2021-11-15 10:41:04 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-15 10:41:04 -0800 |
| commit | 160b0558f55f1357e1a48175c949e98d32630e6b (patch) | |
| tree | 459e163bfda5c90a615dada0d282891795cb7d42 /keyboards/wekey | |
| parent | c9fd69871165eb889be5421df518d8e35b2be027 (diff) | |
| download | qmk_firmware-160b0558f55f1357e1a48175c949e98d32630e6b.tar.gz qmk_firmware-160b0558f55f1357e1a48175c949e98d32630e6b.zip | |
Require explicit enabling of RGB Matrix modes (#15018)
Diffstat (limited to 'keyboards/wekey')
| -rw-r--r-- | keyboards/wekey/we27/config.h | 102 |
1 files changed, 57 insertions, 45 deletions
diff --git a/keyboards/wekey/we27/config.h b/keyboards/wekey/we27/config.h index 332b476a4..851e85aab 100644 --- a/keyboards/wekey/we27/config.h +++ b/keyboards/wekey/we27/config.h | |||
| @@ -66,56 +66,68 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 66 | #define RGB_MATRIX_STARTUP_SPD 127 // Sets the default animation speed, if none has been set | 66 | #define RGB_MATRIX_STARTUP_SPD 127 // Sets the default animation speed, if none has been set |
| 67 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR // Sets the default mode, if none has been set | 67 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR // Sets the default mode, if none has been set |
| 68 | 68 | ||
| 69 | #define DISABLE_RGB_MATRIX_ALPHAS_MODS | 69 | // RGB Matrix Animation modes. Explicitly enabled |
| 70 | #define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 70 | // For full list of effects, see: |
| 71 | #define DISABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT | 71 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects |
| 72 | #define DISABLE_RGB_MATRIX_BREATHING | 72 | // # define ENABLE_RGB_MATRIX_ALPHAS_MODS |
| 73 | #define DISABLE_RGB_MATRIX_BAND_SAT // * | 73 | // # define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
| 74 | #define DISABLE_RGB_MATRIX_BAND_VAL | 74 | // # define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT |
| 75 | #define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | 75 | // # define ENABLE_RGB_MATRIX_BREATHING |
| 76 | #define DISABLE_RGB_MATRIX_BAND_PINWHEEL_VAL | 76 | // # define ENABLE_RGB_MATRIX_BAND_SAT |
| 77 | #define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT | 77 | // # define ENABLE_RGB_MATRIX_BAND_VAL |
| 78 | #define DISABLE_RGB_MATRIX_BAND_SPIRAL_VAL | 78 | // # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT |
| 79 | #define DISABLE_RGB_MATRIX_CYCLE_ALL | 79 | // # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL |
| 80 | #define DISABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT | 80 | // # define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT |
| 81 | #define DISABLE_RGB_MATRIX_CYCLE_UP_DOWN | 81 | // # define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL |
| 82 | #define DISABLE_RGB_MATRIX_CYCLE_OUT_IN | 82 | // # define ENABLE_RGB_MATRIX_CYCLE_ALL |
| 83 | #define DISABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL | 83 | // # define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT |
| 84 | // #define DISABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // * | 84 | // # define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN |
| 85 | #define DISABLE_RGB_MATRIX_CYCLE_PINWHEEL | 85 | # define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON |
| 86 | #define DISABLE_RGB_MATRIX_CYCLE_SPIRAL | 86 | // # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN |
| 87 | #define DISABLE_RGB_MATRIX_DUAL_BEACON | 87 | // # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL |
| 88 | #define DISABLE_RGB_MATRIX_RAINBOW_BEACON | 88 | // # define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL |
| 89 | #define DISABLE_RGB_MATRIX_RAINBOW_PINWHEELS | 89 | // # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL |
| 90 | #define DISABLE_RGB_MATRIX_RAINDROPS | 90 | // # define ENABLE_RGB_MATRIX_DUAL_BEACON |
| 91 | #define DISABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS | 91 | // # define ENABLE_RGB_MATRIX_RAINBOW_BEACON |
| 92 | #define DISABLE_RGB_MATRIX_HUE_BREATHING | 92 | // # define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS |
| 93 | #define DISABLE_RGB_MATRIX_HUE_PENDULUM | 93 | // # define ENABLE_RGB_MATRIX_RAINDROPS |
| 94 | #define DISABLE_RGB_MATRIX_HUE_WAVE | 94 | // # define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS |
| 95 | #define DISABLE_RGB_MATRIX_TYPING_HEATMAP | 95 | // # define ENABLE_RGB_MATRIX_HUE_BREATHING |
| 96 | #define DISABLE_RGB_MATRIX_DIGITAL_RAIN | 96 | // # define ENABLE_RGB_MATRIX_HUE_PENDULUM |
| 97 | #define DISABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE | 97 | // # define ENABLE_RGB_MATRIX_HUE_WAVE |
| 98 | #define DISABLE_RGB_MATRIX_SOLID_REACTIVE | 98 | // # define ENABLE_RGB_MATRIX_PIXEL_RAIN |
| 99 | #define DISABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE | 99 | // # define ENABLE_RGB_MATRIX_PIXEL_FLOW |
| 100 | #define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE | 100 | // # define ENABLE_RGB_MATRIX_PIXEL_FRACTAL |
| 101 | #define DISABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS | 101 | // enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined |
| 102 | #define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS | 102 | // # define ENABLE_RGB_MATRIX_TYPING_HEATMAP |
| 103 | #define DISABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS | 103 | // # define ENABLE_RGB_MATRIX_DIGITAL_RAIN |
| 104 | #define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS | 104 | // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined |
| 105 | #define DISABLE_RGB_MATRIX_SPLASH | 105 | // # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE |
| 106 | #define DISABLE_RGB_MATRIX_MULTISPLASH | 106 | // # define ENABLE_RGB_MATRIX_SOLID_REACTIVE |
| 107 | #define DISABLE_RGB_MATRIX_SOLID_SPLASH | 107 | // # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE |
| 108 | #define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH | 108 | // # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE |
| 109 | // # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS | ||
| 110 | // # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS | ||
| 111 | // # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS | ||
| 112 | // # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS | ||
| 113 | // # define ENABLE_RGB_MATRIX_SPLASH | ||
| 114 | // # define ENABLE_RGB_MATRIX_MULTISPLASH | ||
| 115 | // # define ENABLE_RGB_MATRIX_SOLID_SPLASH | ||
| 116 | // # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | ||
| 109 | 117 | ||
| 110 | #endif | 118 | #endif |
| 111 | 119 | ||
| 112 | #ifdef ENCODER_ENABLE | 120 | #ifdef ENCODER_ENABLE |
| 113 | #define ENCODERS_PAD_A { D3 } | 121 | #define ENCODERS_PAD_A { D3 } |
| 114 | #define ENCODERS_PAD_B { D2 } | 122 | # define ENCODERS_PAD_B \ |
| 115 | #define ENCODER_RESOLUTION 2 | 123 | { D2 } |
| 116 | 124 | # define ENCODER_RESOLUTION 2 | |
| 117 | #define ENCODERS 1 | 125 | |
| 118 | #define ENCODERS_CW_KEY { { 4, 5 } } | 126 | # define ENCODERS 1 |
| 127 | # define ENCODERS_CW_KEY \ | ||
| 128 | { \ | ||
| 129 | { 4, 5 } \ | ||
| 130 | } | ||
| 119 | #define ENCODERS_CCW_KEY { { 4, 3 } } | 131 | #define ENCODERS_CCW_KEY { { 4, 3 } } |
| 120 | #endif | 132 | #endif |
| 121 | 133 | ||
