diff options
| author | Xelus22 <lovlots@hotmail.com> | 2020-01-14 03:36:12 +1000 |
|---|---|---|
| committer | James Young <18669334+noroadsleft@users.noreply.github.com> | 2020-01-13 09:36:12 -0800 |
| commit | 1034df577d2931292802e00c61dc9133c67dcabd (patch) | |
| tree | a9d968400a0856c8dff95efcf2cf62323f94f3e4 | |
| parent | 869ce2f500ce48afdb2880c686aae2e522d0ec75 (diff) | |
| download | qmk_firmware-1034df577d2931292802e00c61dc9133c67dcabd.tar.gz qmk_firmware-1034df577d2931292802e00c61dc9133c67dcabd.zip | |
[Keyboard] Dawn60 bug fix [URGENT] (#7881)
| -rw-r--r-- | keyboards/xelus/dawn60/config.h | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/keyboards/xelus/dawn60/config.h b/keyboards/xelus/dawn60/config.h index da709aa4a..7691bb301 100644 --- a/keyboards/xelus/dawn60/config.h +++ b/keyboards/xelus/dawn60/config.h | |||
| @@ -77,6 +77,15 @@ | |||
| 77 | // This conditionally compiles the backlight code for Dawn60 specifics | 77 | // This conditionally compiles the backlight code for Dawn60 specifics |
| 78 | #define RGB_BACKLIGHT_DAWN60 | 78 | #define RGB_BACKLIGHT_DAWN60 |
| 79 | 79 | ||
| 80 | //RGB Underglow defines | ||
| 81 | #define RGB_DI_PIN F0 | ||
| 82 | #define WS2812_LED_TOTAL 20 | ||
| 83 | |||
| 84 | #define RGB_UNDERGLOW_ALPHA_TOP_START 0 | ||
| 85 | #define RGB_UNDERGLOW_ALPHA_TOP_END 6 | ||
| 86 | #define RGB_UNDERGLOW_ALPHA_BOT_START 12 | ||
| 87 | #define RGB_UNDERGLOW_ALPHA_BOT_END 15 | ||
| 88 | |||
| 80 | // enable/disable LEDs based on layout | 89 | // enable/disable LEDs based on layout |
| 81 | // switch between split backspace (1) or normal backspace(0) | 90 | // switch between split backspace (1) or normal backspace(0) |
| 82 | #define RGB_BACKLIGHT_USE_SPLIT_BACKSPACE 1 | 91 | #define RGB_BACKLIGHT_USE_SPLIT_BACKSPACE 1 |
| @@ -112,15 +121,6 @@ | |||
| 112 | #define RGB_BACKLIGHT_COLOR_1 { .h = 0, .s = 255 } | 121 | #define RGB_BACKLIGHT_COLOR_1 { .h = 0, .s = 255 } |
| 113 | #define RGB_BACKLIGHT_COLOR_2 { .h = 127, .s = 255 } | 122 | #define RGB_BACKLIGHT_COLOR_2 { .h = 127, .s = 255 } |
| 114 | 123 | ||
| 115 | //RGB Underglow defines | ||
| 116 | #define RGB_DI_PIN F0 | ||
| 117 | #define WS2812_LED_TOTAL 20 | ||
| 118 | |||
| 119 | #define RGB_UNDERGLOW_ALPHA_TOP_START 0 | ||
| 120 | #define RGB_UNDERGLOW_ALPHA_TOP_END 6 | ||
| 121 | #define RGB_UNDERGLOW_ALPHA_BOT_START 12 | ||
| 122 | #define RGB_UNDERGLOW_ALPHA_BOT_END 15 | ||
| 123 | |||
| 124 | // These define which keys in the matrix are alphas/mods | 124 | // These define which keys in the matrix are alphas/mods |
| 125 | // Used for backlight effects so colors are different for | 125 | // Used for backlight effects so colors are different for |
| 126 | // alphas vs. mods | 126 | // alphas vs. mods |
| @@ -137,9 +137,6 @@ | |||
| 137 | #define RGB_BACKLIGHT_LAYER_2_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 } | 137 | #define RGB_BACKLIGHT_LAYER_2_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 } |
| 138 | #define RGB_BACKLIGHT_LAYER_3_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 } | 138 | #define RGB_BACKLIGHT_LAYER_3_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 } |
| 139 | 139 | ||
| 140 | //RGB reactive only on keypress (put 1 to enable) | 140 | // Backlight config starts after VIA's EEPROM usage, |
| 141 | #define RGB_REACTIVE_LEFT_RIGHT 0 | 141 | // dynamic keymaps start after this. |
| 142 | #define RGB_REACTIVE_CYCLE_ALL 0 | 142 | #define VIA_EEPROM_CUSTOM_CONFIG_SIZE 31 |
| 143 | #define RGB_REACTIVE_VERTICAL 0 | ||
| 144 | |||
| 145 | #define DYNAMIC_KEYMAP_LAYER_COUNT 4 | ||
