diff options
-rw-r--r-- | keyboards/xbows/ranger/config.h | 4 | ||||
-rw-r--r-- | keyboards/xbows/ranger/keymaps/default/config.h | 17 | ||||
-rw-r--r-- | keyboards/xbows/ranger/ranger.c | 12 | ||||
-rw-r--r-- | keyboards/xbows/ranger/rules.mk | 2 |
4 files changed, 22 insertions, 13 deletions
diff --git a/keyboards/xbows/ranger/config.h b/keyboards/xbows/ranger/config.h index ddf196b5b..fda06228d 100644 --- a/keyboards/xbows/ranger/config.h +++ b/keyboards/xbows/ranger/config.h | |||
@@ -30,6 +30,10 @@ | |||
30 | #define DIODE_DIRECTION COL2ROW | 30 | #define DIODE_DIRECTION COL2ROW |
31 | #define DEBOUNCE 3 | 31 | #define DEBOUNCE 3 |
32 | 32 | ||
33 | /* disable these deprecated features by default */ | ||
34 | #define NO_ACTION_MACRO | ||
35 | #define NO_ACTION_FUNCTION | ||
36 | |||
33 | #ifdef RGB_MATRIX_ENABLE | 37 | #ifdef RGB_MATRIX_ENABLE |
34 | # define RGB_MATRIX_LED_PROCESS_LIMIT 18 | 38 | # define RGB_MATRIX_LED_PROCESS_LIMIT 18 |
35 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 | 39 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 |
diff --git a/keyboards/xbows/ranger/keymaps/default/config.h b/keyboards/xbows/ranger/keymaps/default/config.h index 8e1b68f97..56b98fd46 100644 --- a/keyboards/xbows/ranger/keymaps/default/config.h +++ b/keyboards/xbows/ranger/keymaps/default/config.h | |||
@@ -17,27 +17,32 @@ | |||
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 | |||
21 | # define DISABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue, speed is hue for secondary hue | ||
20 | # define DISABLE_RGB_MATRIX_SOLID_COLOR // Static single hue, no speed support | 22 | # define DISABLE_RGB_MATRIX_SOLID_COLOR // Static single hue, no speed support |
21 | # define DISABLE_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 |
24 | # define DISABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT // Static gradient left to right, speed controls how much gradient changes | ||
22 | # define DISABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right | 25 | # define DISABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right |
23 | # define DISABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right | 26 | # define DISABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right |
24 | # define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation | 27 | # define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation |
25 | # define DISABLE_RGB_MATRIX_BAND_SPIRAL_VAT // Single hue spinning spiral fades saturation | 28 | # define DISABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness |
29 | # define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT // Single hue spinning spiral fades saturation | ||
26 | # define DISABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in | 30 | # define DISABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in |
27 | # define DISABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard | 31 | # define DISABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard |
32 | # define DISABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard | ||
33 | # define DISABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard | ||
34 | # define DISABLE_RGB_MATRIX_HUE_BREATHING // Hue shifts up a slight ammount at the same time, then shifts back | ||
35 | # define DISABLE_RGB_MATRIX_HUE_PENDULUM // Hue shifts up a slight ammount in a wave to the right, then back to the left | ||
36 | # define DISABLE_RGB_MATRIX_HUE_WAVE // Hue shifts up a slight ammount and then back down in a wave to the right | ||
28 | 37 | ||
29 | # define DISABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation | 38 | # define DISABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation |
30 | # define DISABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! | 39 | # define DISABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! |
31 | 40 | ||
32 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out | ||
33 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out | 41 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out |
34 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out | ||
35 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out | 42 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out |
36 | # 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 | 43 | # 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 |
37 | # 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 | 44 | # 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 |
38 | //# define DISABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out | ||
39 | # define DISABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out | 45 | # define DISABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out |
40 | # define DISABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out | 46 | # define DISABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out |
41 | //# define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out | ||
42 | 47 | ||
43 | #endif | 48 | #endif |
diff --git a/keyboards/xbows/ranger/ranger.c b/keyboards/xbows/ranger/ranger.c index 0ba94f67d..618afbdbf 100644 --- a/keyboards/xbows/ranger/ranger.c +++ b/keyboards/xbows/ranger/ranger.c | |||
@@ -108,7 +108,7 @@ const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | |||
108 | {2, C9_10, C8_10, C7_10}, // L84 | 108 | {2, C9_10, C8_10, C7_10}, // L84 |
109 | {2, C9_11, C8_11, C7_11}, // L85 | 109 | {2, C9_11, C8_11, C7_11}, // L85 |
110 | {2, C9_12, C8_12, C7_12}, // L86 | 110 | {2, C9_12, C8_12, C7_12}, // L86 |
111 | {2, C9_13, C8_13, C7_13}, // L87n | 111 | {2, C9_13, C8_13, C7_13}, // L87 |
112 | }; | 112 | }; |
113 | 113 | ||
114 | // clang-format off | 114 | // clang-format off |
@@ -127,12 +127,12 @@ led_config_t g_led_config = { { | |||
127 | {6,51}, {26,51}, {38,51}, {50,51}, {62,51}, {74,51}, {86,51}, {98,51}, {110,51}, {122,51}, {134,51}, {155,51}, {165,27}, {210,51}, | 127 | {6,51}, {26,51}, {38,51}, {50,51}, {62,51}, {74,51}, {86,51}, {98,51}, {110,51}, {122,51}, {134,51}, {155,51}, {165,27}, {210,51}, |
128 | {1,63}, {16,63}, {31,63}, {64,63}, {121,63},{136,63}, {151,63}, {166,63},{182,63}, {194,63}, {206,63} | 128 | {1,63}, {16,63}, {31,63}, {64,63}, {121,63},{136,63}, {151,63}, {166,63},{182,63}, {194,63}, {206,63} |
129 | }, { | 129 | }, { |
130 | 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, | 130 | 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, |
131 | 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, | 131 | 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, |
132 | 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, | 132 | 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, |
133 | 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, | ||
134 | 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, | 133 | 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, |
135 | 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 | 134 | 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, |
135 | 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 | ||
136 | } | 136 | } |
137 | }; | 137 | }; |
138 | // clang-format on | 138 | // clang-format on |
diff --git a/keyboards/xbows/ranger/rules.mk b/keyboards/xbows/ranger/rules.mk index 45bfdddb6..d4e4442dd 100644 --- a/keyboards/xbows/ranger/rules.mk +++ b/keyboards/xbows/ranger/rules.mk | |||
@@ -13,7 +13,7 @@ EXTRAKEY_ENABLE = yes # Audio control and System control | |||
13 | CONSOLE_ENABLE = no # Console for debug | 13 | CONSOLE_ENABLE = no # Console for debug |
14 | COMMAND_ENABLE = no # Commands for debug and configuration | 14 | COMMAND_ENABLE = no # Commands for debug and configuration |
15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
16 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
18 | NKRO_ENABLE = yes # USB Nkey Rollover | 18 | NKRO_ENABLE = yes # USB Nkey Rollover |
19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |