diff options
| author | X-Bows Tech <41098278+XBowsTech@users.noreply.github.com> | 2021-09-16 01:14:05 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-15 10:14:05 -0700 |
| commit | 6930eed964f18a9021fc6c6781e6fa3066290ed9 (patch) | |
| tree | 110f290b4627b0bf67d0d37c4d5303c7bba5eca2 | |
| parent | 12a8e59e9c0fc803b33e63a0901aa9fdba270c53 (diff) | |
| download | qmk_firmware-6930eed964f18a9021fc6c6781e6fa3066290ed9.tar.gz qmk_firmware-6930eed964f18a9021fc6c6781e6fa3066290ed9.zip | |
[Keyboard] Update lighting effects for xbows keyboard (#14432)
| -rw-r--r-- | keyboards/xbows/knight/config.h | 7 | ||||
| -rw-r--r-- | keyboards/xbows/knight/keymaps/default/config.h | 19 | ||||
| -rw-r--r-- | keyboards/xbows/knight_plus/config.h | 5 | ||||
| -rw-r--r-- | keyboards/xbows/knight_plus/keymaps/default/config.h | 19 | ||||
| -rw-r--r-- | keyboards/xbows/nature/config.h | 54 | ||||
| -rw-r--r-- | keyboards/xbows/nature/keymaps/via/keymap.c | 63 | ||||
| -rw-r--r-- | keyboards/xbows/nature/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/xbows/numpad/config.h | 5 | ||||
| -rw-r--r-- | keyboards/xbows/numpad/keymaps/default/config.h | 55 | ||||
| -rw-r--r-- | keyboards/xbows/numpad/numpad.c | 12 | ||||
| -rw-r--r-- | keyboards/xbows/numpad/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/xbows/ranger/config.h | 1 | ||||
| -rw-r--r-- | keyboards/xbows/ranger/keymaps/default/config.h | 2 |
13 files changed, 179 insertions, 65 deletions
diff --git a/keyboards/xbows/knight/config.h b/keyboards/xbows/knight/config.h index 2b15cbbb3..1c89b83ec 100644 --- a/keyboards/xbows/knight/config.h +++ b/keyboards/xbows/knight/config.h | |||
| @@ -28,9 +28,12 @@ | |||
| 28 | #define MATRIX_ROW_PINS { F7, F6, F5, F4, F1, F0 } | 28 | #define MATRIX_ROW_PINS { F7, F6, F5, F4, F1, F0 } |
| 29 | #define MATRIX_COL_PINS { B0, B1, B2, B3, B7, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6 } | 29 | #define MATRIX_COL_PINS { B0, B1, B2, B3, B7, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6 } |
| 30 | #define DIODE_DIRECTION COL2ROW | 30 | #define DIODE_DIRECTION COL2ROW |
| 31 | |||
| 32 | #define DEBOUNCE 3 | 31 | #define DEBOUNCE 3 |
| 33 | 32 | ||
| 33 | /* disable these deprecated features by default */ | ||
| 34 | #define NO_ACTION_MACRO | ||
| 35 | #define NO_ACTION_FUNCTION | ||
| 36 | |||
| 34 | #ifdef RGB_MATRIX_ENABLE | 37 | #ifdef RGB_MATRIX_ENABLE |
| 35 | # define RGB_MATRIX_LED_PROCESS_LIMIT 18 | 38 | # define RGB_MATRIX_LED_PROCESS_LIMIT 18 |
| 36 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 | 39 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 |
| @@ -39,7 +42,7 @@ | |||
| 39 | # define RGB_MATRIX_KEYPRESSES | 42 | # define RGB_MATRIX_KEYPRESSES |
| 40 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 | 43 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 |
| 41 | # define RGB_MATRIX_CENTER \ | 44 | # define RGB_MATRIX_CENTER \ |
| 42 | { 92, 43 } | 45 | { 92, 33 } |
| 43 | 46 | ||
| 44 | # define DRIVER_ADDR_1 0b1110100 | 47 | # define DRIVER_ADDR_1 0b1110100 |
| 45 | # define DRIVER_ADDR_2 0b1110110 | 48 | # define DRIVER_ADDR_2 0b1110110 |
diff --git a/keyboards/xbows/knight/keymaps/default/config.h b/keyboards/xbows/knight/keymaps/default/config.h index 8e1b68f97..22a7112f8 100644 --- a/keyboards/xbows/knight/keymaps/default/config.h +++ b/keyboards/xbows/knight/keymaps/default/config.h | |||
| @@ -17,27 +17,34 @@ | |||
| 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_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 | ||
| 28 | 39 | ||
| 29 | # define DISABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation | 40 | # define DISABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation |
| 30 | # define DISABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! | 41 | # define DISABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! |
| 31 | 42 | ||
| 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 | 43 | # 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 | 44 | # 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 | 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 |
| 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 | 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 |
| 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 | 47 | # 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 | 48 | # 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 | 49 | ||
| 43 | #endif | 50 | #endif |
diff --git a/keyboards/xbows/knight_plus/config.h b/keyboards/xbows/knight_plus/config.h index 6293a6ffb..5282476b4 100644 --- a/keyboards/xbows/knight_plus/config.h +++ b/keyboards/xbows/knight_plus/config.h | |||
| @@ -28,9 +28,12 @@ | |||
| 28 | #define MATRIX_ROW_PINS { F7, F6, F5, F4, F1, F0 } | 28 | #define MATRIX_ROW_PINS { F7, F6, F5, F4, F1, F0 } |
| 29 | #define MATRIX_COL_PINS { B0, B1, B2, B3, B7, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6 } | 29 | #define MATRIX_COL_PINS { B0, B1, B2, B3, B7, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6 } |
| 30 | #define DIODE_DIRECTION COL2ROW | 30 | #define DIODE_DIRECTION COL2ROW |
| 31 | |||
| 32 | #define DEBOUNCE 3 | 31 | #define DEBOUNCE 3 |
| 33 | 32 | ||
| 33 | /* disable these deprecated features by default */ | ||
| 34 | #define NO_ACTION_MACRO | ||
| 35 | #define NO_ACTION_FUNCTION | ||
| 36 | |||
| 34 | #ifdef RGB_MATRIX_ENABLE | 37 | #ifdef RGB_MATRIX_ENABLE |
| 35 | # define RGB_MATRIX_LED_PROCESS_LIMIT 18 | 38 | # define RGB_MATRIX_LED_PROCESS_LIMIT 18 |
| 36 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 | 39 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 |
diff --git a/keyboards/xbows/knight_plus/keymaps/default/config.h b/keyboards/xbows/knight_plus/keymaps/default/config.h index 8e1b68f97..22a7112f8 100644 --- a/keyboards/xbows/knight_plus/keymaps/default/config.h +++ b/keyboards/xbows/knight_plus/keymaps/default/config.h | |||
| @@ -17,27 +17,34 @@ | |||
| 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_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 | ||
| 28 | 39 | ||
| 29 | # define DISABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation | 40 | # define DISABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation |
| 30 | # define DISABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! | 41 | # define DISABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! |
| 31 | 42 | ||
| 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 | 43 | # 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 | 44 | # 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 | 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 |
| 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 | 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 |
| 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 | 47 | # 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 | 48 | # 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 | 49 | ||
| 43 | #endif | 50 | #endif |
diff --git a/keyboards/xbows/nature/config.h b/keyboards/xbows/nature/config.h index e321f7ee1..2c886533b 100644 --- a/keyboards/xbows/nature/config.h +++ b/keyboards/xbows/nature/config.h | |||
| @@ -28,31 +28,51 @@ | |||
| 28 | #define MATRIX_ROW_PINS { F7, F6, F5, F4, F1, F0 } | 28 | #define MATRIX_ROW_PINS { F7, F6, F5, F4, F1, F0 } |
| 29 | #define MATRIX_COL_PINS { B0, B1, B2, B3, B7, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6 } | 29 | #define MATRIX_COL_PINS { B0, B1, B2, B3, B7, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6 } |
| 30 | #define DIODE_DIRECTION COL2ROW | 30 | #define DIODE_DIRECTION COL2ROW |
| 31 | |||
| 32 | #define DEBOUNCE 3 | 31 | #define DEBOUNCE 3 |
| 33 | 32 | ||
| 33 | /* disable these deprecated features by default */ | ||
| 34 | #define NO_ACTION_MACRO | ||
| 35 | #define NO_ACTION_FUNCTION | ||
| 36 | |||
| 34 | #ifdef RGB_MATRIX_ENABLE | 37 | #ifdef RGB_MATRIX_ENABLE |
| 35 | # define RGB_MATRIX_LED_PROCESS_LIMIT 18 | 38 | # define RGB_MATRIX_LED_PROCESS_LIMIT 18 |
| 36 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 | 39 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 |
| 37 | # 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 |
| 38 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended | 41 | # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
| 39 | # define RGB_MATRIX_KEYPRESSES | 42 | # define RGB_MATRIX_KEYPRESSES |
| 40 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 | 43 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 |
| 41 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN | 44 | # define RGB_MATRIX_CENTER \ |
| 42 | # define DISABLE_RGB_MATRIX_BAND_SAT | 45 | { 92, 33 } |
| 43 | # define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | 46 | |
| 44 | # define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT | 47 | # define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT // Sets the default mode, if none has been set |
| 45 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE | 48 | # define DISABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue, speed is hue for secondary hue |
| 46 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE | 49 | # define DISABLE_RGB_MATRIX_SOLID_COLOR // Static single hue, no speed support |
| 47 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS | 50 | # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom, speed controls how much gradient changes |
| 48 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS | 51 | # define DISABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT // Static gradient left to right, speed controls how much gradient changes |
| 49 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS | 52 | # define DISABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right |
| 50 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS | 53 | # define DISABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right |
| 51 | # define DISABLE_RGB_MATRIX_SPLASH | 54 | # define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation |
| 52 | # define DISABLE_RGB_MATRIX_MULTISPLASH | 55 | # define DISABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness |
| 53 | # define DISABLE_RGB_MATRIX_SOLID_SPLASH | 56 | # define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT // Single hue spinning spiral fades saturation |
| 54 | # define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH | 57 | # define DISABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in |
| 55 | # define DISABLE_RGB_MATRIX_DIGITAL_RAIN | 58 | # define DISABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // Full gradent Chevron shapped scrolling left to right |
| 59 | # define DISABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard | ||
| 60 | # define DISABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard | ||
| 61 | # define DISABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard | ||
| 62 | # define DISABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // Randomly changes a single key's hue and saturation | ||
| 63 | # define DISABLE_RGB_MATRIX_HUE_BREATHING // Hue shifts up a slight ammount at the same time, then shifts back | ||
| 64 | # define DISABLE_RGB_MATRIX_HUE_PENDULUM // Hue shifts up a slight ammount in a wave to the right, then back to the left | ||
| 65 | # define DISABLE_RGB_MATRIX_HUE_WAVE // Hue shifts up a slight ammount and then back down in a wave to the right | ||
| 66 | |||
| 67 | # define DISABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation | ||
| 68 | # define DISABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! | ||
| 69 | |||
| 70 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out | ||
| 71 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out | ||
| 72 | # 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 | ||
| 73 | # 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 | ||
| 74 | # define DISABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out | ||
| 75 | # define DISABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out | ||
| 56 | 76 | ||
| 57 | # define DRIVER_ADDR_1 0b1110100 | 77 | # define DRIVER_ADDR_1 0b1110100 |
| 58 | # define DRIVER_ADDR_2 0b1110110 | 78 | # define DRIVER_ADDR_2 0b1110110 |
diff --git a/keyboards/xbows/nature/keymaps/via/keymap.c b/keyboards/xbows/nature/keymaps/via/keymap.c new file mode 100644 index 000000000..dabbc6c9b --- /dev/null +++ b/keyboards/xbows/nature/keymaps/via/keymap.c | |||
| @@ -0,0 +1,63 @@ | |||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | /* Keymap VANILLA: (Base Layer) Default Layer | ||
| 20 | * | ||
| 21 | * |---------------------------------------------------------------------------------------------------------------------------------| | ||
| 22 | * | Esc | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Delete | Prtsc | | ||
| 23 | * |---------------------------------------------------------------------------------------------------------------------------------| | ||
| 24 | * | ~ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Backspace | | ||
| 25 | * |---------------------------------------------------------------------------------------------------------------------------------| | ||
| 26 | * | Tab | Q | W | E | R | T | | Y | U | I | O | P | [ | ] | \ | PgUp | | ||
| 27 | * |---------------------------------------------------------------------------------------------------------------------------------| | ||
| 28 | * | Ctl | A | S | D | F | G | Bksp | H | J | K | L | ; | '" | Enter | PgDn | | ||
| 29 | * |---------------------------------------------------------------------------------------------------------------------------------| | ||
| 30 | * |Shift| Z | X | C | V | B | Enter | N | M | , | . | /? | Shift| | Up | | ||
| 31 | * |---------------------------------------------------------------------------------------------------------------------------------| | ||
| 32 | * |Ctrl | GUI | Alter | Space | Ctrl | Shift | Space | Alter | FN | Ctrl | Lft | Dn | Rig | | ||
| 33 | * |---------------------------------------------------------------------------------------------------------------------------------| | ||
| 34 | */ | ||
| 35 | [0] = LAYOUT( | ||
| 36 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_PSCR, | ||
| 37 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, | ||
| 38 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, | ||
| 39 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_BSPC, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, | ||
| 40 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_ENT, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
| 41 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_LCTL, KC_LSFT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), | ||
| 42 | [1] = LAYOUT( | ||
| 43 | RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_CALC, KC_MYCM, KC_MSEL, KC_MAIL, NK_TOGG, EEP_RST, | ||
| 44 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_NLCK, | ||
| 45 | RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, | ||
| 46 | KC_TRNS, RGB_SPD, RGB_VAD, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, | ||
| 47 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MUTE, KC_VOLU, | ||
| 48 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY, KC_MPRV, KC_VOLD, KC_MNXT), | ||
| 49 | [2] = LAYOUT( | ||
| 50 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 51 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 52 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 53 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 54 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 55 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 56 | [3] = LAYOUT( | ||
| 57 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 58 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 59 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 60 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 61 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 62 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) | ||
| 63 | }; | ||
diff --git a/keyboards/xbows/nature/keymaps/via/rules.mk b/keyboards/xbows/nature/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/xbows/nature/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/xbows/numpad/config.h b/keyboards/xbows/numpad/config.h index 832da03a2..d3ef6ed9d 100644 --- a/keyboards/xbows/numpad/config.h +++ b/keyboards/xbows/numpad/config.h | |||
| @@ -28,9 +28,12 @@ | |||
| 28 | #define MATRIX_ROW_PINS { B5, B4, C6, B6, D7, B3 } | 28 | #define MATRIX_ROW_PINS { B5, B4, C6, B6, D7, B3 } |
| 29 | #define MATRIX_COL_PINS { D4, D6, B2, B1 } | 29 | #define MATRIX_COL_PINS { D4, D6, B2, B1 } |
| 30 | #define DIODE_DIRECTION COL2ROW | 30 | #define DIODE_DIRECTION COL2ROW |
| 31 | |||
| 32 | #define DEBOUNCE 3 | 31 | #define DEBOUNCE 3 |
| 33 | 32 | ||
| 33 | /* disable these deprecated features by default */ | ||
| 34 | #define NO_ACTION_MACRO | ||
| 35 | #define NO_ACTION_FUNCTION | ||
| 36 | |||
| 34 | #ifdef RGB_MATRIX_ENABLE | 37 | #ifdef RGB_MATRIX_ENABLE |
| 35 | # define RGB_MATRIX_LED_PROCESS_LIMIT 18 | 38 | # define RGB_MATRIX_LED_PROCESS_LIMIT 18 |
| 36 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 | 39 | # define RGB_MATRIX_LED_FLUSH_LIMIT 16 |
diff --git a/keyboards/xbows/numpad/keymaps/default/config.h b/keyboards/xbows/numpad/keymaps/default/config.h index c8235f516..22a7112f8 100644 --- a/keyboards/xbows/numpad/keymaps/default/config.h +++ b/keyboards/xbows/numpad/keymaps/default/config.h | |||
| @@ -13,31 +13,38 @@ | |||
| 13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #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_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 | ||
| 22 | # 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 | ||
| 24 | # 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 | ||
| 26 | # 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 | ||
| 28 | 20 | ||
| 29 | # define DISABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation | 21 | # define DISABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue, speed is hue for secondary hue |
| 30 | # define DISABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! | 22 | # define DISABLE_RGB_MATRIX_SOLID_COLOR // Static single hue, no speed support |
| 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 | ||
| 25 | # define DISABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right | ||
| 26 | # define DISABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right | ||
| 27 | # define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel 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 | ||
| 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 | ||
| 31 | 39 | ||
| 32 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out | 40 | # define DISABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation |
| 33 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out | 41 | # define DISABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! |
| 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 | ||
| 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 | ||
| 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 | ||
| 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 | ||
| 40 | # 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 | 42 | ||
| 43 | #endif | 43 | # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits 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 | ||
| 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 | ||
| 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 | ||
| 47 | # define DISABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out | ||
| 48 | # define DISABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out | ||
| 49 | |||
| 50 | #endif | ||
diff --git a/keyboards/xbows/numpad/numpad.c b/keyboards/xbows/numpad/numpad.c index 4e05473b6..8f25152e3 100644 --- a/keyboards/xbows/numpad/numpad.c +++ b/keyboards/xbows/numpad/numpad.c | |||
| @@ -33,14 +33,14 @@ | |||
| 33 | {0, C9_4, C8_4, C7_4}, // L12 | 33 | {0, C9_4, C8_4, C7_4}, // L12 |
| 34 | 34 | ||
| 35 | {0, C3_11, C2_11, C1_11}, // L13 | 35 | {0, C3_11, C2_11, C1_11}, // L13 |
| 36 | {0, C3_12, C2_12, C1_12}, // L14 | 36 | {0, C3_12, C2_12, C1_12}, // L14 |
| 37 | {0, C3_13, C2_13, C1_13}, // L15 | 37 | {0, C3_13, C2_13, C1_13}, // L15 |
| 38 | {0, C3_14, C2_14, C1_14}, // L16 | 38 | {0, C3_14, C2_14, C1_14}, // L16 |
| 39 | 39 | ||
| 40 | {0, C6_9, C5_9, C4_9}, // L17 | 40 | {0, C6_9, C5_9, C4_9}, // L17 |
| 41 | {0, C6_10, C5_10, C4_10}, // L18 | 41 | {0, C6_10, C5_10, C4_10}, // L18 |
| 42 | {0, C6_11, C5_11, C4_11}, // L19 | 42 | {0, C6_11, C5_11, C4_11}, // L19 |
| 43 | {0, C6_14, C5_14, C4_14}, // L20 | 43 | {0, C6_14, C5_14, C4_14}, // L20 |
| 44 | 44 | ||
| 45 | {0, C6_16, C5_16, C4_16}, // L21 | 45 | {0, C6_16, C5_16, C4_16}, // L21 |
| 46 | {0, C6_15, C5_15, C4_15}, // L22 | 46 | {0, C6_15, C5_15, C4_15}, // L22 |
diff --git a/keyboards/xbows/numpad/rules.mk b/keyboards/xbows/numpad/rules.mk index 3abc8b397..c3b73b766 100644 --- a/keyboards/xbows/numpad/rules.mk +++ b/keyboards/xbows/numpad/rules.mk | |||
| @@ -14,7 +14,6 @@ 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 = yes # Breathing sleep LED during USB suspend |
| 17 | NO_USB_STARTUP_CHECK = no # Disables usb supend check after keyboard startup | ||
| 18 | # 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 |
| 19 | NKRO_ENABLE = yes # USB Nkey Rollover | 18 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 20 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
diff --git a/keyboards/xbows/ranger/config.h b/keyboards/xbows/ranger/config.h index fda06228d..7a67afd7d 100644 --- a/keyboards/xbows/ranger/config.h +++ b/keyboards/xbows/ranger/config.h | |||
| @@ -40,7 +40,6 @@ | |||
| 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_FRAMEBUFFER_EFFECTS | ||
| 44 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 | 43 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 |
| 45 | # define RGB_MATRIX_CENTER { 103, 32 } | 44 | # define RGB_MATRIX_CENTER { 103, 32 } |
| 46 | # define DRIVER_ADDR_1 0b1110100 | 45 | # define DRIVER_ADDR_1 0b1110100 |
diff --git a/keyboards/xbows/ranger/keymaps/default/config.h b/keyboards/xbows/ranger/keymaps/default/config.h index 56b98fd46..22a7112f8 100644 --- a/keyboards/xbows/ranger/keymaps/default/config.h +++ b/keyboards/xbows/ranger/keymaps/default/config.h | |||
| @@ -28,9 +28,11 @@ | |||
| 28 | # define DISABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness | 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 | 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 | 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 | ||
| 31 | # define DISABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard | 32 | # 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_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_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 | ||
| 34 | # define DISABLE_RGB_MATRIX_HUE_BREATHING // Hue shifts up a slight ammount at the same time, then shifts back | 36 | # 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 | 37 | # 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 | 38 | # define DISABLE_RGB_MATRIX_HUE_WAVE // Hue shifts up a slight ammount and then back down in a wave to the right |
