aboutsummaryrefslogtreecommitdiff
path: root/keyboards/xbows/numpad
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-11-15 10:41:04 -0800
committerGitHub <noreply@github.com>2021-11-15 10:41:04 -0800
commit160b0558f55f1357e1a48175c949e98d32630e6b (patch)
tree459e163bfda5c90a615dada0d282891795cb7d42 /keyboards/xbows/numpad
parentc9fd69871165eb889be5421df518d8e35b2be027 (diff)
downloadqmk_firmware-160b0558f55f1357e1a48175c949e98d32630e6b.tar.gz
qmk_firmware-160b0558f55f1357e1a48175c949e98d32630e6b.zip
Require explicit enabling of RGB Matrix modes (#15018)
Diffstat (limited to 'keyboards/xbows/numpad')
-rw-r--r--keyboards/xbows/numpad/config.h49
-rw-r--r--keyboards/xbows/numpad/keymaps/default/config.h50
-rw-r--r--keyboards/xbows/numpad/keymaps/via/config.h81
3 files changed, 111 insertions, 69 deletions
diff --git a/keyboards/xbows/numpad/config.h b/keyboards/xbows/numpad/config.h
index 4617ce36a..59616eba3 100644
--- a/keyboards/xbows/numpad/config.h
+++ b/keyboards/xbows/numpad/config.h
@@ -44,6 +44,55 @@
44# define RGB_MATRIX_CENTER \ 44# define RGB_MATRIX_CENTER \
45 { 30, 32 } 45 { 30, 32 }
46 46
47// RGB Matrix Animation modes. Explicitly enabled
48// For full list of effects, see:
49// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
50# define ENABLE_RGB_MATRIX_ALPHAS_MODS
51# define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
52# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
53# define ENABLE_RGB_MATRIX_BREATHING
54# define ENABLE_RGB_MATRIX_BAND_SAT
55# define ENABLE_RGB_MATRIX_BAND_VAL
56# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
57# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
58# define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
59# define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
60# define ENABLE_RGB_MATRIX_CYCLE_ALL
61# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
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
83# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
84# define ENABLE_RGB_MATRIX_SOLID_REACTIVE
85# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
86# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
87# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
88# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
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
47# define DRIVER_ADDR_1 0b1110111 96# define DRIVER_ADDR_1 0b1110111
48# define DRIVER_COUNT 1 97# define DRIVER_COUNT 1
49# define DRIVER_LED_TOTAL 22 98# define DRIVER_LED_TOTAL 22
diff --git a/keyboards/xbows/numpad/keymaps/default/config.h b/keyboards/xbows/numpad/keymaps/default/config.h
index 22a7112f8..3e3358e34 100644
--- a/keyboards/xbows/numpad/keymaps/default/config.h
+++ b/keyboards/xbows/numpad/keymaps/default/config.h
@@ -15,36 +15,30 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18#ifdef RGB_MATRIX_ENABLE 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 19 # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set
20 20
21# define DISABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue, speed is hue for secondary hue 21# undef ENABLE_RGB_MATRIX_SOLID_COLOR // Static single hue, no speed support
22# define DISABLE_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# define DISABLE_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# define DISABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT // Static gradient left to right, speed controls how much gradient changes 24# undef ENABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right
25# define DISABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right 25# undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation
26# define DISABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right 26# undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAT // Single hue spinning spiral fades saturation
27# define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation 27# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in
28# define DISABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness 28# undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard
29# define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT // Single hue spinning spiral fades saturation
30# define DISABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in
31# define DISABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // Full gradent Chevron shapped scrolling left to right
32# define DISABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard
33# define DISABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard
34# define DISABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard
35# define DISABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // Randomly changes a single key's hue and saturation
36# define DISABLE_RGB_MATRIX_HUE_BREATHING // Hue shifts up a slight ammount at the same time, then shifts back
37# define DISABLE_RGB_MATRIX_HUE_PENDULUM // Hue shifts up a slight ammount in a wave to the right, then back to the left
38# define DISABLE_RGB_MATRIX_HUE_WAVE // Hue shifts up a slight ammount and then back down in a wave to the right
39 29
40# define DISABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation 30# undef ENABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation
41# define DISABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! 31# undef ENABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM!
42 32
43# define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out 33# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out
44# define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out 34// # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out
45# define DISABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS // Hue & value pulse away on the same column and row of a single key hit 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
46# define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS // Hue & value pulse away on the same column and row of multiple key hits 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
47# define DISABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from 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
48# define DISABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from 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
49 43
50#endif 44#endif
diff --git a/keyboards/xbows/numpad/keymaps/via/config.h b/keyboards/xbows/numpad/keymaps/via/config.h
index aa5e4c1cd..cf06e7d07 100644
--- a/keyboards/xbows/numpad/keymaps/via/config.h
+++ b/keyboards/xbows/numpad/keymaps/via/config.h
@@ -17,48 +17,47 @@
17 17
18#ifdef RGB_MATRIX_ENABLE 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 19# define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set
20# define DISABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue, speed is hue for secondary hue 20# undef ENABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue, speed is hue for secondary hue
21# define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom, speed controls how much gradient changes 21# undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom, speed controls how much gradient changes
22# define DISABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT // Static gradient left to right, 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//# define DISABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation 23//# undef ENABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation
24# define DISABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right 24# undef ENABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right
25# define DISABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right 25# undef ENABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right
26# define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation 26# undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation
27# define DISABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness 27# undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness
28# define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT // Single hue spinning spiral fades saturation 28# undef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT // Single hue spinning spiral fades saturation
29# define DISABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness 29# undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness
30//# define DISABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient 30//# undef ENABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient
31//# define DISABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right 31//# undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right
32# define DISABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom 32# undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom
33//# define DISABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in 33//# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in
34# define DISABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in 34# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in
35# define DISABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // Full gradent Chevron shapped scrolling left to right 35# undef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // Full gradent Chevron shapped scrolling left to right
36# define DISABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard 36# undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard
37# define DISABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard 37# undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard
38# define DISABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard 38# undef ENABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard
39//# define DISABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard 39//# undef ENABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard
40# define DISABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard 40# undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard
41# define DISABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue 41# undef ENABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue
42# define DISABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // Randomly changes a single key's hue and saturation 42# undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // Randomly changes a single key's hue and saturation
43//# define DISABLE_RGB_MATRIX_HUE_BREATHING // Hue shifts up a slight ammount at the same time, then shifts back 43//# undef ENABLE_RGB_MATRIX_HUE_BREATHING // Hue shifts up a slight ammount at the same time, then shifts back
44# define DISABLE_RGB_MATRIX_HUE_PENDULUM // Hue shifts up a slight ammount in a wave to the right, then back to the left 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//# define DISABLE_RGB_MATRIX_HUE_WAVE // Hue shifts up a slight ammount and then back down in a wave to the right 45//# undef ENABLE_RGB_MATRIX_HUE_WAVE // Hue shifts up a slight ammount and then back down in a wave to the right
46 46
47# define DISABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation 47# undef ENABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation
48# define DISABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! 48# undef ENABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM!
49
50//# define DISABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out
51//# define DISABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue
52# define DISABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out
53# define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out
54# define DISABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out
55# define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out
56# define DISABLE_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# define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS // Hue & value pulse away on the same column and row of multiple key hits then fades value out
58//# define DISABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out
59# define DISABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out
60# define DISABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out
61//# define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out
62 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
63 62
64#endif 63#endif