diff options
| author | X-Bows Tech <41098278+XBowsTech@users.noreply.github.com> | 2021-12-08 03:04:00 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-07 11:04:00 -0800 |
| commit | 3cbeb11da7202af6a738d7e3c21659268d235420 (patch) | |
| tree | 5b0d725fc4ab35bfb9a1a48f051ebabd788f32ff | |
| parent | 28e92536d46298229593c12406b503bf3bcbbede (diff) | |
| download | qmk_firmware-3cbeb11da7202af6a738d7e3c21659268d235420.tar.gz qmk_firmware-3cbeb11da7202af6a738d7e3c21659268d235420.zip | |
[keyboard] Update lighting effects on XBows board (#15358)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Shulin <mumu@x-bows.com>
| -rw-r--r-- | keyboards/xbows/knight/config.h | 62 | ||||
| -rw-r--r-- | keyboards/xbows/knight/keymaps/default/config.h | 43 | ||||
| -rw-r--r-- | keyboards/xbows/knight/keymaps/via/config.h | 63 | ||||
| -rw-r--r-- | keyboards/xbows/knight/knight.c | 1 | ||||
| -rw-r--r-- | keyboards/xbows/knight_plus/config.h | 66 | ||||
| -rw-r--r-- | keyboards/xbows/knight_plus/keymaps/default/config.h | 43 | ||||
| -rw-r--r-- | keyboards/xbows/knight_plus/keymaps/via/config.h | 63 | ||||
| -rw-r--r-- | keyboards/xbows/knight_plus/knight_plus.c | 1 | ||||
| -rw-r--r-- | keyboards/xbows/nature/config.h | 62 | ||||
| -rw-r--r-- | keyboards/xbows/nature/nature.c | 2 | ||||
| -rw-r--r-- | keyboards/xbows/numpad/config.h | 62 | ||||
| -rw-r--r-- | keyboards/xbows/numpad/keymaps/default/config.h | 44 | ||||
| -rw-r--r-- | keyboards/xbows/numpad/keymaps/via/config.h | 63 | ||||
| -rw-r--r-- | keyboards/xbows/ranger/config.h | 64 | ||||
| -rw-r--r-- | keyboards/xbows/ranger/keymaps/default/config.h | 44 | ||||
| -rw-r--r-- | keyboards/xbows/ranger/keymaps/via/config.h | 63 |
16 files changed, 94 insertions, 652 deletions
diff --git a/keyboards/xbows/knight/config.h b/keyboards/xbows/knight/config.h index dfd477cbc..b91dd8db6 100644 --- a/keyboards/xbows/knight/config.h +++ b/keyboards/xbows/knight/config.h | |||
| @@ -47,51 +47,25 @@ | |||
| 47 | // RGB Matrix Animation modes. Explicitly enabled | 47 | // RGB Matrix Animation modes. Explicitly enabled |
| 48 | // For full list of effects, see: | 48 | // For full list of effects, see: |
| 49 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects | 49 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects |
| 50 | # define ENABLE_RGB_MATRIX_ALPHAS_MODS | 50 | # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set |
| 51 | # define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 51 | # define ENABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation |
| 52 | # define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT | 52 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness |
| 53 | # define ENABLE_RGB_MATRIX_BREATHING | 53 | # define ENABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient |
| 54 | # define ENABLE_RGB_MATRIX_BAND_SAT | 54 | # define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right |
| 55 | # define ENABLE_RGB_MATRIX_BAND_VAL | 55 | # define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom |
| 56 | # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | 56 | # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in |
| 57 | # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL | 57 | # define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard |
| 58 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT | 58 | # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard |
| 59 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL | 59 | # define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard |
| 60 | # define ENABLE_RGB_MATRIX_CYCLE_ALL | 60 | # define ENABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue |
| 61 | # define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT | 61 | |
| 62 | # define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN | ||
| 63 | # define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON | ||
| 64 | # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN | ||
| 65 | # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL | ||
| 66 | # define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL | ||
| 67 | # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL | ||
| 68 | # define ENABLE_RGB_MATRIX_DUAL_BEACON | ||
| 69 | # define ENABLE_RGB_MATRIX_RAINBOW_BEACON | ||
| 70 | # define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS | ||
| 71 | # define ENABLE_RGB_MATRIX_RAINDROPS | ||
| 72 | # define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS | ||
| 73 | # define ENABLE_RGB_MATRIX_HUE_BREATHING | ||
| 74 | # define ENABLE_RGB_MATRIX_HUE_PENDULUM | ||
| 75 | # define ENABLE_RGB_MATRIX_HUE_WAVE | ||
| 76 | # define ENABLE_RGB_MATRIX_PIXEL_RAIN | ||
| 77 | # define ENABLE_RGB_MATRIX_PIXEL_FLOW | ||
| 78 | # define ENABLE_RGB_MATRIX_PIXEL_FRACTAL | ||
| 79 | // enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined | ||
| 80 | # define ENABLE_RGB_MATRIX_TYPING_HEATMAP | ||
| 81 | # define ENABLE_RGB_MATRIX_DIGITAL_RAIN | ||
| 82 | // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined | 62 | // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined |
| 83 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE | 63 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out |
| 84 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE | 64 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue |
| 85 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE | 65 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out |
| 86 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE | 66 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out |
| 87 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS | 67 | # define ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out |
| 88 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS | 68 | # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out |
| 89 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS | ||
| 90 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS | ||
| 91 | # define ENABLE_RGB_MATRIX_SPLASH | ||
| 92 | # define ENABLE_RGB_MATRIX_MULTISPLASH | ||
| 93 | # define ENABLE_RGB_MATRIX_SOLID_SPLASH | ||
| 94 | # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | ||
| 95 | 69 | ||
| 96 | # define DRIVER_ADDR_1 0b1110100 | 70 | # define DRIVER_ADDR_1 0b1110100 |
| 97 | # define DRIVER_ADDR_2 0b1110110 | 71 | # define DRIVER_ADDR_2 0b1110110 |
diff --git a/keyboards/xbows/knight/keymaps/default/config.h b/keyboards/xbows/knight/keymaps/default/config.h deleted file mode 100644 index fcd14ee04..000000000 --- a/keyboards/xbows/knight/keymaps/default/config.h +++ /dev/null | |||
| @@ -1,43 +0,0 @@ | |||
| 1 | /* Copyright 2021 Shulin Huang <mumu@x-bows.com> | ||
| 2 | * | ||
| 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 | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 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/>. | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #ifdef RGB_MATRIX_ENABLE | ||
| 19 | # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set | ||
| 20 | # undef ENABLE_RGB_MATRIX_SOLID_COLOR // Static single hue, no speed support | ||
| 21 | # undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom, speed controls how much gradient changes | ||
| 22 | # undef ENABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right | ||
| 23 | # undef ENABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right | ||
| 24 | # undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation | ||
| 25 | # undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAT // Single hue spinning spiral fades saturation | ||
| 26 | # undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in | ||
| 27 | # undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard | ||
| 28 | |||
| 29 | # undef ENABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation | ||
| 30 | # undef ENABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! | ||
| 31 | |||
| 32 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out | ||
| 33 | // # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out | ||
| 34 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out | ||
| 35 | // # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out | ||
| 36 | // # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS // Hue & value pulse away on the same column and row of a single key hit then fades value out | ||
| 37 | // # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS // Hue & value pulse away on the same column and row of multiple key hits then fades value out | ||
| 38 | //# undef ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out | ||
| 39 | // # undef ENABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out | ||
| 40 | // # undef ENABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out | ||
| 41 | //# undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out | ||
| 42 | |||
| 43 | #endif | ||
diff --git a/keyboards/xbows/knight/keymaps/via/config.h b/keyboards/xbows/knight/keymaps/via/config.h deleted file mode 100644 index cf06e7d07..000000000 --- a/keyboards/xbows/knight/keymaps/via/config.h +++ /dev/null | |||
| @@ -1,63 +0,0 @@ | |||
| 1 | /* Copyright 2021 Shulin Huang <mumu@x-bows.com> | ||
| 2 | * | ||
| 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 | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 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/>. | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #ifdef RGB_MATRIX_ENABLE | ||
| 19 | # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set | ||
| 20 | # undef ENABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue, speed is hue for secondary hue | ||
| 21 | # undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom, speed controls how much gradient changes | ||
| 22 | # undef ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT // Static gradient left to right, speed controls how much gradient changes | ||
| 23 | //# undef ENABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation | ||
| 24 | # undef ENABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right | ||
| 25 | # undef ENABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right | ||
| 26 | # undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation | ||
| 27 | # undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness | ||
| 28 | # undef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT // Single hue spinning spiral fades saturation | ||
| 29 | # undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness | ||
| 30 | //# undef ENABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient | ||
| 31 | //# undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right | ||
| 32 | # undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom | ||
| 33 | //# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in | ||
| 34 | # undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in | ||
| 35 | # undef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // Full gradent Chevron shapped scrolling left to right | ||
| 36 | # undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard | ||
| 37 | # undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard | ||
| 38 | # undef ENABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard | ||
| 39 | //# undef ENABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard | ||
| 40 | # undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard | ||
| 41 | # undef ENABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue | ||
| 42 | # undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // Randomly changes a single key's hue and saturation | ||
| 43 | //# undef ENABLE_RGB_MATRIX_HUE_BREATHING // Hue shifts up a slight ammount at the same time, then shifts back | ||
| 44 | # undef ENABLE_RGB_MATRIX_HUE_PENDULUM // Hue shifts up a slight ammount in a wave to the right, then back to the left | ||
| 45 | //# undef ENABLE_RGB_MATRIX_HUE_WAVE // Hue shifts up a slight ammount and then back down in a wave to the right | ||
| 46 | |||
| 47 | # undef ENABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation | ||
| 48 | # undef ENABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! | ||
| 49 | |||
| 50 | //# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out | ||
| 51 | //# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue | ||
| 52 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out | ||
| 53 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out | ||
| 54 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out | ||
| 55 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out | ||
| 56 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS // Hue & value pulse away on the same column and row of a single key hit then fades value out | ||
| 57 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS // Hue & value pulse away on the same column and row of multiple key hits then fades value out | ||
| 58 | //# undef ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out | ||
| 59 | # undef ENABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out | ||
| 60 | # undef ENABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out | ||
| 61 | //# undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out | ||
| 62 | |||
| 63 | #endif | ||
diff --git a/keyboards/xbows/knight/knight.c b/keyboards/xbows/knight/knight.c index 8c2fd9dfa..9d9d7cfd1 100644 --- a/keyboards/xbows/knight/knight.c +++ b/keyboards/xbows/knight/knight.c | |||
| @@ -135,7 +135,6 @@ | |||
| 135 | } }; | 135 | } }; |
| 136 | 136 | ||
| 137 | 137 | ||
| 138 | |||
| 139 | __attribute__ ((weak)) void rgb_matrix_indicators_user(void) { | 138 | __attribute__ ((weak)) void rgb_matrix_indicators_user(void) { |
| 140 | if (host_keyboard_led_state().caps_lock) { | 139 | if (host_keyboard_led_state().caps_lock) { |
| 141 | rgb_matrix_set_color(44, 0xFF, 0xFF, 0xFF); | 140 | rgb_matrix_set_color(44, 0xFF, 0xFF, 0xFF); |
diff --git a/keyboards/xbows/knight_plus/config.h b/keyboards/xbows/knight_plus/config.h index ee71bb6ba..add7d5367 100644 --- a/keyboards/xbows/knight_plus/config.h +++ b/keyboards/xbows/knight_plus/config.h | |||
| @@ -39,59 +39,33 @@ | |||
| 39 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 | 39 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 |
| 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_MATRIX_KEYPRESSES | 41 | # define RGB_MATRIX_KEYPRESSES |
| 42 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended | 42 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
| 43 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 | 43 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 |
| 44 | # define RGB_MATRIX_CENTER \ | 44 | # define RGB_MATRIX_CENTER \ |
| 45 | { 92, 43 } | 45 | { 92, 33 } |
| 46 | 46 | ||
| 47 | // RGB Matrix Animation modes. Explicitly enabled | 47 | // RGB Matrix Animation modes. Explicitly enabled |
| 48 | // For full list of effects, see: | 48 | // For full list of effects, see: |
| 49 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects | 49 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects |
| 50 | # define ENABLE_RGB_MATRIX_ALPHAS_MODS | 50 | # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set |
| 51 | # define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 51 | # define ENABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation |
| 52 | # define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT | 52 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness |
| 53 | # define ENABLE_RGB_MATRIX_BREATHING | 53 | # define ENABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient |
| 54 | # define ENABLE_RGB_MATRIX_BAND_SAT | 54 | # define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right |
| 55 | # define ENABLE_RGB_MATRIX_BAND_VAL | 55 | # define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom |
| 56 | # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | 56 | # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in |
| 57 | # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL | 57 | # define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard |
| 58 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT | 58 | # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard |
| 59 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL | 59 | # define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard |
| 60 | # define ENABLE_RGB_MATRIX_CYCLE_ALL | 60 | # define ENABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue |
| 61 | # define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT | 61 | |
| 62 | # define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN | ||
| 63 | # define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON | ||
| 64 | # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN | ||
| 65 | # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL | ||
| 66 | # define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL | ||
| 67 | # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL | ||
| 68 | # define ENABLE_RGB_MATRIX_DUAL_BEACON | ||
| 69 | # define ENABLE_RGB_MATRIX_RAINBOW_BEACON | ||
| 70 | # define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS | ||
| 71 | # define ENABLE_RGB_MATRIX_RAINDROPS | ||
| 72 | # define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS | ||
| 73 | # define ENABLE_RGB_MATRIX_HUE_BREATHING | ||
| 74 | # define ENABLE_RGB_MATRIX_HUE_PENDULUM | ||
| 75 | # define ENABLE_RGB_MATRIX_HUE_WAVE | ||
| 76 | # define ENABLE_RGB_MATRIX_PIXEL_RAIN | ||
| 77 | # define ENABLE_RGB_MATRIX_PIXEL_FLOW | ||
| 78 | # define ENABLE_RGB_MATRIX_PIXEL_FRACTAL | ||
| 79 | // enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined | ||
| 80 | # define ENABLE_RGB_MATRIX_TYPING_HEATMAP | ||
| 81 | # define ENABLE_RGB_MATRIX_DIGITAL_RAIN | ||
| 82 | // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined | 62 | // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined |
| 83 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE | 63 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out |
| 84 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE | 64 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue |
| 85 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE | 65 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out |
| 86 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE | 66 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out |
| 87 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS | 67 | # define ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out |
| 88 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS | 68 | # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out |
| 89 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS | ||
| 90 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS | ||
| 91 | # define ENABLE_RGB_MATRIX_SPLASH | ||
| 92 | # define ENABLE_RGB_MATRIX_MULTISPLASH | ||
| 93 | # define ENABLE_RGB_MATRIX_SOLID_SPLASH | ||
| 94 | # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | ||
| 95 | 69 | ||
| 96 | # define DRIVER_ADDR_1 0b1110100 | 70 | # define DRIVER_ADDR_1 0b1110100 |
| 97 | # define DRIVER_ADDR_2 0b1110110 | 71 | # define DRIVER_ADDR_2 0b1110110 |
diff --git a/keyboards/xbows/knight_plus/keymaps/default/config.h b/keyboards/xbows/knight_plus/keymaps/default/config.h deleted file mode 100644 index fcd14ee04..000000000 --- a/keyboards/xbows/knight_plus/keymaps/default/config.h +++ /dev/null | |||
| @@ -1,43 +0,0 @@ | |||
| 1 | /* Copyright 2021 Shulin Huang <mumu@x-bows.com> | ||
| 2 | * | ||
| 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 | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 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/>. | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #ifdef RGB_MATRIX_ENABLE | ||
| 19 | # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set | ||
| 20 | # undef ENABLE_RGB_MATRIX_SOLID_COLOR // Static single hue, no speed support | ||
| 21 | # undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom, speed controls how much gradient changes | ||
| 22 | # undef ENABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right | ||
| 23 | # undef ENABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right | ||
| 24 | # undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation | ||
| 25 | # undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAT // Single hue spinning spiral fades saturation | ||
| 26 | # undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in | ||
| 27 | # undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard | ||
| 28 | |||
| 29 | # undef ENABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation | ||
| 30 | # undef ENABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! | ||
| 31 | |||
| 32 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out | ||
| 33 | // # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out | ||
| 34 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out | ||
| 35 | // # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out | ||
| 36 | // # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS // Hue & value pulse away on the same column and row of a single key hit then fades value out | ||
| 37 | // # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS // Hue & value pulse away on the same column and row of multiple key hits then fades value out | ||
| 38 | //# undef ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out | ||
| 39 | // # undef ENABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out | ||
| 40 | // # undef ENABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out | ||
| 41 | //# undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out | ||
| 42 | |||
| 43 | #endif | ||
diff --git a/keyboards/xbows/knight_plus/keymaps/via/config.h b/keyboards/xbows/knight_plus/keymaps/via/config.h deleted file mode 100644 index cf06e7d07..000000000 --- a/keyboards/xbows/knight_plus/keymaps/via/config.h +++ /dev/null | |||
| @@ -1,63 +0,0 @@ | |||
| 1 | /* Copyright 2021 Shulin Huang <mumu@x-bows.com> | ||
| 2 | * | ||
| 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 | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 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/>. | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #ifdef RGB_MATRIX_ENABLE | ||
| 19 | # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set | ||
| 20 | # undef ENABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue, speed is hue for secondary hue | ||
| 21 | # undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom, speed controls how much gradient changes | ||
| 22 | # undef ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT // Static gradient left to right, speed controls how much gradient changes | ||
| 23 | //# undef ENABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation | ||
| 24 | # undef ENABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right | ||
| 25 | # undef ENABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right | ||
| 26 | # undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation | ||
| 27 | # undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness | ||
| 28 | # undef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT // Single hue spinning spiral fades saturation | ||
| 29 | # undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness | ||
| 30 | //# undef ENABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient | ||
| 31 | //# undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right | ||
| 32 | # undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom | ||
| 33 | //# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in | ||
| 34 | # undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in | ||
| 35 | # undef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // Full gradent Chevron shapped scrolling left to right | ||
| 36 | # undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard | ||
| 37 | # undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard | ||
| 38 | # undef ENABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard | ||
| 39 | //# undef ENABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard | ||
| 40 | # undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard | ||
| 41 | # undef ENABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue | ||
| 42 | # undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // Randomly changes a single key's hue and saturation | ||
| 43 | //# undef ENABLE_RGB_MATRIX_HUE_BREATHING // Hue shifts up a slight ammount at the same time, then shifts back | ||
| 44 | # undef ENABLE_RGB_MATRIX_HUE_PENDULUM // Hue shifts up a slight ammount in a wave to the right, then back to the left | ||
| 45 | //# undef ENABLE_RGB_MATRIX_HUE_WAVE // Hue shifts up a slight ammount and then back down in a wave to the right | ||
| 46 | |||
| 47 | # undef ENABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation | ||
| 48 | # undef ENABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! | ||
| 49 | |||
| 50 | //# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out | ||
| 51 | //# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue | ||
| 52 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out | ||
| 53 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out | ||
| 54 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out | ||
| 55 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out | ||
| 56 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS // Hue & value pulse away on the same column and row of a single key hit then fades value out | ||
| 57 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS // Hue & value pulse away on the same column and row of multiple key hits then fades value out | ||
| 58 | //# undef ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out | ||
| 59 | # undef ENABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out | ||
| 60 | # undef ENABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out | ||
| 61 | //# undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out | ||
| 62 | |||
| 63 | #endif | ||
diff --git a/keyboards/xbows/knight_plus/knight_plus.c b/keyboards/xbows/knight_plus/knight_plus.c index ede23dc63..bf008fd09 100644 --- a/keyboards/xbows/knight_plus/knight_plus.c +++ b/keyboards/xbows/knight_plus/knight_plus.c | |||
| @@ -135,7 +135,6 @@ | |||
| 135 | } }; | 135 | } }; |
| 136 | 136 | ||
| 137 | 137 | ||
| 138 | |||
| 139 | __attribute__ ((weak)) void rgb_matrix_indicators_user(void) { | 138 | __attribute__ ((weak)) void rgb_matrix_indicators_user(void) { |
| 140 | if (host_keyboard_led_state().caps_lock) { | 139 | if (host_keyboard_led_state().caps_lock) { |
| 141 | rgb_matrix_set_color(44, 0xFF, 0xFF, 0xFF); | 140 | rgb_matrix_set_color(44, 0xFF, 0xFF, 0xFF); |
diff --git a/keyboards/xbows/nature/config.h b/keyboards/xbows/nature/config.h index 922e479a5..2395ae778 100644 --- a/keyboards/xbows/nature/config.h +++ b/keyboards/xbows/nature/config.h | |||
| @@ -49,51 +49,25 @@ | |||
| 49 | // RGB Matrix Animation modes. Explicitly enabled | 49 | // RGB Matrix Animation modes. Explicitly enabled |
| 50 | // For full list of effects, see: | 50 | // For full list of effects, see: |
| 51 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects | 51 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects |
| 52 | # define ENABLE_RGB_MATRIX_ALPHAS_MODS | 52 | # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set |
| 53 | // # define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 53 | # define ENABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation |
| 54 | # define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT | 54 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness |
| 55 | # define ENABLE_RGB_MATRIX_BREATHING | 55 | # define ENABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient |
| 56 | // # define ENABLE_RGB_MATRIX_BAND_SAT | 56 | # define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right |
| 57 | # define ENABLE_RGB_MATRIX_BAND_VAL | 57 | # define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom |
| 58 | // # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | 58 | # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in |
| 59 | # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL | 59 | # define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard |
| 60 | // # define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT | 60 | # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard |
| 61 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL | 61 | # define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard |
| 62 | # define ENABLE_RGB_MATRIX_CYCLE_ALL | 62 | # define ENABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue |
| 63 | # define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT | 63 | |
| 64 | # define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN | ||
| 65 | # define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON | ||
| 66 | # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN | ||
| 67 | // # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL | ||
| 68 | # define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL | ||
| 69 | # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL | ||
| 70 | # define ENABLE_RGB_MATRIX_DUAL_BEACON | ||
| 71 | # define ENABLE_RGB_MATRIX_RAINBOW_BEACON | ||
| 72 | # define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS | ||
| 73 | # define ENABLE_RGB_MATRIX_RAINDROPS | ||
| 74 | # define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS | ||
| 75 | // # define ENABLE_RGB_MATRIX_HUE_BREATHING | ||
| 76 | // # define ENABLE_RGB_MATRIX_HUE_PENDULUM | ||
| 77 | // # define ENABLE_RGB_MATRIX_HUE_WAVE | ||
| 78 | // # define ENABLE_RGB_MATRIX_PIXEL_RAIN | ||
| 79 | // # define ENABLE_RGB_MATRIX_PIXEL_FLOW | ||
| 80 | // # define ENABLE_RGB_MATRIX_PIXEL_FRACTAL | ||
| 81 | // enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined | ||
| 82 | # define ENABLE_RGB_MATRIX_TYPING_HEATMAP | ||
| 83 | // # define ENABLE_RGB_MATRIX_DIGITAL_RAIN | ||
| 84 | // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined | 64 | // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined |
| 85 | // # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE | 65 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out |
| 86 | // # define ENABLE_RGB_MATRIX_SOLID_REACTIVE | 66 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue |
| 87 | // # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE | 67 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out |
| 88 | // # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE | 68 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out |
| 89 | // # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS | 69 | # define ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out |
| 90 | // # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS | 70 | # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out |
| 91 | // # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS | ||
| 92 | // # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS | ||
| 93 | // # define ENABLE_RGB_MATRIX_SPLASH | ||
| 94 | // # define ENABLE_RGB_MATRIX_MULTISPLASH | ||
| 95 | // # define ENABLE_RGB_MATRIX_SOLID_SPLASH | ||
| 96 | // # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | ||
| 97 | 71 | ||
| 98 | # define DRIVER_ADDR_1 0b1110100 | 72 | # define DRIVER_ADDR_1 0b1110100 |
| 99 | # define DRIVER_ADDR_2 0b1110110 | 73 | # define DRIVER_ADDR_2 0b1110110 |
diff --git a/keyboards/xbows/nature/nature.c b/keyboards/xbows/nature/nature.c index 80d695fec..d4957003b 100644 --- a/keyboards/xbows/nature/nature.c +++ b/keyboards/xbows/nature/nature.c | |||
| @@ -148,7 +148,7 @@ void suspend_wakeup_init_kb(void) { | |||
| 148 | 148 | ||
| 149 | __attribute__ ((weak)) void rgb_matrix_indicators_user(void) { | 149 | __attribute__ ((weak)) void rgb_matrix_indicators_user(void) { |
| 150 | if (host_keyboard_led_state().caps_lock) { | 150 | if (host_keyboard_led_state().caps_lock) { |
| 151 | rgb_matrix_set_color(45, 0xFF, 0x00, 0x00); | 151 | rgb_matrix_set_color(45, 0xFF, 0xFF, 0xFF); |
| 152 | } | 152 | } |
| 153 | } | 153 | } |
| 154 | 154 | ||
diff --git a/keyboards/xbows/numpad/config.h b/keyboards/xbows/numpad/config.h index 59616eba3..96dff5241 100644 --- a/keyboards/xbows/numpad/config.h +++ b/keyboards/xbows/numpad/config.h | |||
| @@ -47,51 +47,25 @@ | |||
| 47 | // RGB Matrix Animation modes. Explicitly enabled | 47 | // RGB Matrix Animation modes. Explicitly enabled |
| 48 | // For full list of effects, see: | 48 | // For full list of effects, see: |
| 49 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects | 49 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects |
| 50 | # define ENABLE_RGB_MATRIX_ALPHAS_MODS | 50 | # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set |
| 51 | # define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 51 | # define ENABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation |
| 52 | # define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT | 52 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness |
| 53 | # define ENABLE_RGB_MATRIX_BREATHING | 53 | # define ENABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient |
| 54 | # define ENABLE_RGB_MATRIX_BAND_SAT | 54 | # define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right |
| 55 | # define ENABLE_RGB_MATRIX_BAND_VAL | 55 | # define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom |
| 56 | # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | 56 | # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in |
| 57 | # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL | 57 | # define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard |
| 58 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT | 58 | # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard |
| 59 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL | 59 | # define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard |
| 60 | # define ENABLE_RGB_MATRIX_CYCLE_ALL | 60 | # define ENABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue |
| 61 | # define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT | 61 | |
| 62 | # define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN | ||
| 63 | # define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON | ||
| 64 | # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN | ||
| 65 | # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL | ||
| 66 | # define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL | ||
| 67 | # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL | ||
| 68 | # define ENABLE_RGB_MATRIX_DUAL_BEACON | ||
| 69 | # define ENABLE_RGB_MATRIX_RAINBOW_BEACON | ||
| 70 | # define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS | ||
| 71 | # define ENABLE_RGB_MATRIX_RAINDROPS | ||
| 72 | # define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS | ||
| 73 | # define ENABLE_RGB_MATRIX_HUE_BREATHING | ||
| 74 | # define ENABLE_RGB_MATRIX_HUE_PENDULUM | ||
| 75 | # define ENABLE_RGB_MATRIX_HUE_WAVE | ||
| 76 | # define ENABLE_RGB_MATRIX_PIXEL_RAIN | ||
| 77 | # define ENABLE_RGB_MATRIX_PIXEL_FLOW | ||
| 78 | # define ENABLE_RGB_MATRIX_PIXEL_FRACTAL | ||
| 79 | // enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined | ||
| 80 | # define ENABLE_RGB_MATRIX_TYPING_HEATMAP | ||
| 81 | # define ENABLE_RGB_MATRIX_DIGITAL_RAIN | ||
| 82 | // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined | 62 | // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined |
| 83 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE | 63 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out |
| 84 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE | 64 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue |
| 85 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE | 65 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out |
| 86 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE | 66 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out |
| 87 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS | 67 | # define ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out |
| 88 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS | 68 | # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out |
| 89 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS | ||
| 90 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS | ||
| 91 | # define ENABLE_RGB_MATRIX_SPLASH | ||
| 92 | # define ENABLE_RGB_MATRIX_MULTISPLASH | ||
| 93 | # define ENABLE_RGB_MATRIX_SOLID_SPLASH | ||
| 94 | # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | ||
| 95 | 69 | ||
| 96 | # define DRIVER_ADDR_1 0b1110111 | 70 | # define DRIVER_ADDR_1 0b1110111 |
| 97 | # define DRIVER_COUNT 1 | 71 | # define DRIVER_COUNT 1 |
diff --git a/keyboards/xbows/numpad/keymaps/default/config.h b/keyboards/xbows/numpad/keymaps/default/config.h deleted file mode 100644 index 3e3358e34..000000000 --- a/keyboards/xbows/numpad/keymaps/default/config.h +++ /dev/null | |||
| @@ -1,44 +0,0 @@ | |||
| 1 | /* Copyright 2021 Shulin Huang <mumu@x-bows.com> | ||
| 2 | * | ||
| 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 | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 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/>. | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #ifdef RGB_MATRIX_ENABLE | ||
| 19 | # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set | ||
| 20 | |||
| 21 | # undef ENABLE_RGB_MATRIX_SOLID_COLOR // Static single hue, no speed support | ||
| 22 | # undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom, speed controls how much gradient changes | ||
| 23 | # undef ENABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right | ||
| 24 | # undef ENABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right | ||
| 25 | # undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation | ||
| 26 | # undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAT // Single hue spinning spiral fades saturation | ||
| 27 | # undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in | ||
| 28 | # undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard | ||
| 29 | |||
| 30 | # undef ENABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation | ||
| 31 | # undef ENABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! | ||
| 32 | |||
| 33 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out | ||
| 34 | // # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out | ||
| 35 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out | ||
| 36 | // # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out | ||
| 37 | // # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS // Hue & value pulse away on the same column and row of a single key hit then fades value out | ||
| 38 | // # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS // Hue & value pulse away on the same column and row of multiple key hits then fades value out | ||
| 39 | //# undef ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out | ||
| 40 | // # undef ENABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out | ||
| 41 | // # undef ENABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out | ||
| 42 | //# undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out | ||
| 43 | |||
| 44 | #endif | ||
diff --git a/keyboards/xbows/numpad/keymaps/via/config.h b/keyboards/xbows/numpad/keymaps/via/config.h deleted file mode 100644 index cf06e7d07..000000000 --- a/keyboards/xbows/numpad/keymaps/via/config.h +++ /dev/null | |||
| @@ -1,63 +0,0 @@ | |||
| 1 | /* Copyright 2021 Shulin Huang <mumu@x-bows.com> | ||
| 2 | * | ||
| 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 | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 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/>. | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #ifdef RGB_MATRIX_ENABLE | ||
| 19 | # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set | ||
| 20 | # undef ENABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue, speed is hue for secondary hue | ||
| 21 | # undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom, speed controls how much gradient changes | ||
| 22 | # undef ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT // Static gradient left to right, speed controls how much gradient changes | ||
| 23 | //# undef ENABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation | ||
| 24 | # undef ENABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right | ||
| 25 | # undef ENABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right | ||
| 26 | # undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation | ||
| 27 | # undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness | ||
| 28 | # undef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT // Single hue spinning spiral fades saturation | ||
| 29 | # undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness | ||
| 30 | //# undef ENABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient | ||
| 31 | //# undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right | ||
| 32 | # undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom | ||
| 33 | //# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in | ||
| 34 | # undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in | ||
| 35 | # undef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // Full gradent Chevron shapped scrolling left to right | ||
| 36 | # undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard | ||
| 37 | # undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard | ||
| 38 | # undef ENABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard | ||
| 39 | //# undef ENABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard | ||
| 40 | # undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard | ||
| 41 | # undef ENABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue | ||
| 42 | # undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // Randomly changes a single key's hue and saturation | ||
| 43 | //# undef ENABLE_RGB_MATRIX_HUE_BREATHING // Hue shifts up a slight ammount at the same time, then shifts back | ||
| 44 | # undef ENABLE_RGB_MATRIX_HUE_PENDULUM // Hue shifts up a slight ammount in a wave to the right, then back to the left | ||
| 45 | //# undef ENABLE_RGB_MATRIX_HUE_WAVE // Hue shifts up a slight ammount and then back down in a wave to the right | ||
| 46 | |||
| 47 | # undef ENABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation | ||
| 48 | # undef ENABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! | ||
| 49 | |||
| 50 | //# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out | ||
| 51 | //# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue | ||
| 52 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out | ||
| 53 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out | ||
| 54 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out | ||
| 55 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out | ||
| 56 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS // Hue & value pulse away on the same column and row of a single key hit then fades value out | ||
| 57 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS // Hue & value pulse away on the same column and row of multiple key hits then fades value out | ||
| 58 | //# undef ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out | ||
| 59 | # undef ENABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out | ||
| 60 | # undef ENABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out | ||
| 61 | //# undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out | ||
| 62 | |||
| 63 | #endif | ||
diff --git a/keyboards/xbows/ranger/config.h b/keyboards/xbows/ranger/config.h index 1447a26d0..e5b976407 100644 --- a/keyboards/xbows/ranger/config.h +++ b/keyboards/xbows/ranger/config.h | |||
| @@ -38,7 +38,7 @@ | |||
| 38 | # define RGB_MATRIX_LED_PROCESS_LIMIT 18 | 38 | # define RGB_MATRIX_LED_PROCESS_LIMIT 18 |
| 39 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 | 39 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 |
| 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 // turn off effects when suspended | 41 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
| 42 | # define RGB_MATRIX_KEYPRESSES | 42 | # define RGB_MATRIX_KEYPRESSES |
| 43 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 | 43 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 |
| 44 | # define RGB_MATRIX_CENTER { 103, 32 } | 44 | # define RGB_MATRIX_CENTER { 103, 32 } |
| @@ -46,51 +46,25 @@ | |||
| 46 | // RGB Matrix Animation modes. Explicitly enabled | 46 | // RGB Matrix Animation modes. Explicitly enabled |
| 47 | // For full list of effects, see: | 47 | // For full list of effects, see: |
| 48 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects | 48 | // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects |
| 49 | # define ENABLE_RGB_MATRIX_ALPHAS_MODS | 49 | # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set |
| 50 | # define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 50 | # define ENABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation |
| 51 | # define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT | 51 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness |
| 52 | # define ENABLE_RGB_MATRIX_BREATHING | 52 | # define ENABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient |
| 53 | # define ENABLE_RGB_MATRIX_BAND_SAT | 53 | # define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right |
| 54 | # define ENABLE_RGB_MATRIX_BAND_VAL | 54 | # define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom |
| 55 | # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | 55 | # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in |
| 56 | # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL | 56 | # define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard |
| 57 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT | 57 | # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard |
| 58 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL | 58 | # define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard |
| 59 | # define ENABLE_RGB_MATRIX_CYCLE_ALL | 59 | # define ENABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue |
| 60 | # define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT | 60 | |
| 61 | # define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN | ||
| 62 | # define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON | ||
| 63 | # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN | ||
| 64 | # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL | ||
| 65 | # define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL | ||
| 66 | # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL | ||
| 67 | # define ENABLE_RGB_MATRIX_DUAL_BEACON | ||
| 68 | # define ENABLE_RGB_MATRIX_RAINBOW_BEACON | ||
| 69 | # define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS | ||
| 70 | # define ENABLE_RGB_MATRIX_RAINDROPS | ||
| 71 | # define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS | ||
| 72 | # define ENABLE_RGB_MATRIX_HUE_BREATHING | ||
| 73 | # define ENABLE_RGB_MATRIX_HUE_PENDULUM | ||
| 74 | # define ENABLE_RGB_MATRIX_HUE_WAVE | ||
| 75 | # define ENABLE_RGB_MATRIX_PIXEL_RAIN | ||
| 76 | # define ENABLE_RGB_MATRIX_PIXEL_FLOW | ||
| 77 | # define ENABLE_RGB_MATRIX_PIXEL_FRACTAL | ||
| 78 | // enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined | ||
| 79 | # define ENABLE_RGB_MATRIX_TYPING_HEATMAP | ||
| 80 | # define ENABLE_RGB_MATRIX_DIGITAL_RAIN | ||
| 81 | // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined | 61 | // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined |
| 82 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE | 62 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out |
| 83 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE | 63 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue |
| 84 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE | 64 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out |
| 85 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE | 65 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out |
| 86 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS | 66 | # define ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out |
| 87 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS | 67 | # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out |
| 88 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS | ||
| 89 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS | ||
| 90 | # define ENABLE_RGB_MATRIX_SPLASH | ||
| 91 | # define ENABLE_RGB_MATRIX_MULTISPLASH | ||
| 92 | # define ENABLE_RGB_MATRIX_SOLID_SPLASH | ||
| 93 | # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | ||
| 94 | 68 | ||
| 95 | # define DRIVER_ADDR_1 0b1110100 | 69 | # define DRIVER_ADDR_1 0b1110100 |
| 96 | # define DRIVER_ADDR_2 0b1110101 | 70 | # define DRIVER_ADDR_2 0b1110101 |
diff --git a/keyboards/xbows/ranger/keymaps/default/config.h b/keyboards/xbows/ranger/keymaps/default/config.h deleted file mode 100644 index 2e662068f..000000000 --- a/keyboards/xbows/ranger/keymaps/default/config.h +++ /dev/null | |||
| @@ -1,44 +0,0 @@ | |||
| 1 | /* Copyright 2021 Shulin Huang <mumu@x-bows.com> | ||
| 2 | * | ||
| 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 | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 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/>. | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #ifdef RGB_MATRIX_ENABLE | ||
| 19 | # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set | ||
| 20 | |||
| 21 | # undef ENABLE_RGB_MATRIX_SOLID_COLOR // Static single hue, no speed support | ||
| 22 | # undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom, speed controls how much gradient changes | ||
| 23 | # undef ENABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right | ||
| 24 | # undef ENABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right | ||
| 25 | # undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation | ||
| 26 | # undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAT // Single hue spinning spiral fades saturation | ||
| 27 | # undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in | ||
| 28 | # undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard | ||
| 29 | |||
| 30 | # undef ENABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation | ||
| 31 | # undef ENABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! | ||
| 32 | |||
| 33 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out | ||
| 34 | // # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out | ||
| 35 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out | ||
| 36 | // # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out | ||
| 37 | // # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS // Hue & value pulse away on the same column and row of a single key hit then fades value out | ||
| 38 | // # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS // Hue & value pulse away on the same column and row of multiple key hits then fades value out | ||
| 39 | //# undef ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out | ||
| 40 | // # undef ENABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out | ||
| 41 | // # undef ENABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out | ||
| 42 | //# undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out | ||
| 43 | |||
| 44 | #endif | ||
diff --git a/keyboards/xbows/ranger/keymaps/via/config.h b/keyboards/xbows/ranger/keymaps/via/config.h deleted file mode 100644 index cf06e7d07..000000000 --- a/keyboards/xbows/ranger/keymaps/via/config.h +++ /dev/null | |||
| @@ -1,63 +0,0 @@ | |||
| 1 | /* Copyright 2021 Shulin Huang <mumu@x-bows.com> | ||
| 2 | * | ||
| 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 | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 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/>. | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #ifdef RGB_MATRIX_ENABLE | ||
| 19 | # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set | ||
| 20 | # undef ENABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue, speed is hue for secondary hue | ||
| 21 | # undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom, speed controls how much gradient changes | ||
| 22 | # undef ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT // Static gradient left to right, speed controls how much gradient changes | ||
| 23 | //# undef ENABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation | ||
| 24 | # undef ENABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right | ||
| 25 | # undef ENABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right | ||
| 26 | # undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation | ||
| 27 | # undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness | ||
| 28 | # undef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT // Single hue spinning spiral fades saturation | ||
| 29 | # undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness | ||
| 30 | //# undef ENABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient | ||
| 31 | //# undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right | ||
| 32 | # undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom | ||
| 33 | //# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in | ||
| 34 | # undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in | ||
| 35 | # undef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // Full gradent Chevron shapped scrolling left to right | ||
| 36 | # undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard | ||
| 37 | # undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard | ||
| 38 | # undef ENABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard | ||
| 39 | //# undef ENABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard | ||
| 40 | # undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard | ||
| 41 | # undef ENABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue | ||
| 42 | # undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // Randomly changes a single key's hue and saturation | ||
| 43 | //# undef ENABLE_RGB_MATRIX_HUE_BREATHING // Hue shifts up a slight ammount at the same time, then shifts back | ||
| 44 | # undef ENABLE_RGB_MATRIX_HUE_PENDULUM // Hue shifts up a slight ammount in a wave to the right, then back to the left | ||
| 45 | //# undef ENABLE_RGB_MATRIX_HUE_WAVE // Hue shifts up a slight ammount and then back down in a wave to the right | ||
| 46 | |||
| 47 | # undef ENABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation | ||
| 48 | # undef ENABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! | ||
| 49 | |||
| 50 | //# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out | ||
| 51 | //# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue | ||
| 52 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out | ||
| 53 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out | ||
| 54 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out | ||
| 55 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out | ||
| 56 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS // Hue & value pulse away on the same column and row of a single key hit then fades value out | ||
| 57 | # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS // Hue & value pulse away on the same column and row of multiple key hits then fades value out | ||
| 58 | //# undef ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out | ||
| 59 | # undef ENABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out | ||
| 60 | # undef ENABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out | ||
| 61 | //# undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out | ||
| 62 | |||
| 63 | #endif | ||
