diff options
Diffstat (limited to 'keyboards/hub20/config.h')
| -rw-r--r-- | keyboards/hub20/config.h | 76 |
1 files changed, 52 insertions, 24 deletions
diff --git a/keyboards/hub20/config.h b/keyboards/hub20/config.h index 8ebe1f9e2..f8e5d6be8 100644 --- a/keyboards/hub20/config.h +++ b/keyboards/hub20/config.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /* | 1 | /* |
| 2 | Copyright 2020 joshajohnson | 2 | Copyright 2020 joshajohnson |
| 3 | Copyright 2021 peepeetee | ||
| 3 | 4 | ||
| 4 | This program is free software: you can redistribute it and/or modify | 5 | This program is free software: you can redistribute it and/or modify |
| 5 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
| @@ -41,29 +42,56 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 41 | 42 | ||
| 42 | #define RGB_DI_PIN B15 | 43 | #define RGB_DI_PIN B15 |
| 43 | #define RGBLED_NUM 27 | 44 | #define RGBLED_NUM 27 |
| 44 | #define RGBLIGHT_HUE_STEP 8 | 45 | |
| 45 | #define RGBLIGHT_SAT_STEP 8 | 46 | #define DRIVER_LED_TOTAL 27 |
| 46 | #define RGBLIGHT_VAL_STEP 8 | 47 | #ifdef RGB_DI_PIN |
| 47 | #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | 48 | #define RGBLED_NUM 27 |
| 48 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | 49 | #endif |
| 49 | // /*== all animations enable ==*/ | 50 | |
| 50 | #define RGBLIGHT_ANIMATIONS | 51 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
| 51 | // /*== or choose animations ==*/ | 52 | #define RGB_MATRIX_KEYPRESSES |
| 52 | // #define RGBLIGHT_EFFECT_BREATHING | 53 | |
| 53 | // #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 54 | // This list in in the correct mode order. Next mode is the following line, previous mode is previous line. Loops around. |
| 54 | // #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 55 | // #define DISABLE_RGB_MATRIX_SOLID_COLOR // Static single hue, no speed support |
| 55 | // #define RGBLIGHT_EFFECT_SNAKE | 56 | #define DISABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue, speed is hue for secondary hue |
| 56 | // #define RGBLIGHT_EFFECT_KNIGHT | 57 | //#define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom, speed controls how much gradient changes |
| 57 | // #define RGBLIGHT_EFFECT_CHRISTMAS | 58 | //#define DISABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT // Static gradient top to bottom, speed controls how much gradient changes |
| 58 | // #define RGBLIGHT_EFFECT_STATIC_GRADIENT | 59 | //#define DISABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation |
| 59 | // #define RGBLIGHT_EFFECT_RGB_TEST | 60 | #define DISABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right |
| 60 | // #define RGBLIGHT_EFFECT_ALTERNATING | 61 | #define DISABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right |
| 61 | // /*== customize breathing effect ==*/ | 62 | #define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation |
| 62 | // /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | 63 | #define DISABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness |
| 63 | // #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | 64 | #define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT // Single hue spinning spiral fades saturation |
| 64 | // /*==== use exp() and sin() ====*/ | 65 | #define DISABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness |
| 65 | // #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | 66 | #define DISABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient |
| 66 | // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | 67 | //#define DISABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right |
| 68 | //#define DISABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom | ||
| 69 | #define DISABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // Full gradent Chevron shapped scrolling left to right | ||
| 70 | #define DISABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in | ||
| 71 | #define DISABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in | ||
| 72 | #define DISABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard | ||
| 73 | #define DISABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard | ||
| 74 | #define DISABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard | ||
| 75 | #define DISABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard | ||
| 76 | #define DISABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard | ||
| 77 | //#define DISABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue | ||
| 78 | //#define DISABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // Randomly changes a single key's hue and saturation | ||
| 79 | // =================================================== Requires RGB_MATRIX_FRAMEBUFFER_EFFECTS ============================================================= | ||
| 80 | // #define DISABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! | ||
| 81 | //#define DISABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation | ||
| 82 | // =================================================== RGB_MATRIX_KEYPRESSES OR RGB_MATRIX_KEYRELEASES ===================================================== | ||
| 83 | //#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out | ||
| 84 | //#define DISABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue | ||
| 85 | #define DISABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out | ||
| 86 | #define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out | ||
| 87 | #define DISABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out | ||
| 88 | #define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out | ||
| 89 | #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 | ||
| 90 | #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 | ||
| 91 | #define DISABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out | ||
| 92 | #define DISABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out | ||
| 93 | #define DISABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out | ||
| 94 | #define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out | ||
| 67 | 95 | ||
| 68 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 96 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
| 69 | #define DEBOUNCE 5 | 97 | #define DEBOUNCE 5 |
