mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-11 19:14:38 +00:00
Added configurable defaults for RGB backlight indicators.
This commit is contained in:
parent
cb2f2fd258
commit
eb0bbe997b
4 changed files with 19 additions and 4 deletions
|
@ -119,6 +119,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_3 0b0010000000000001
|
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_3 0b0010000000000001
|
||||||
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_4 0b0011110000000111
|
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_4 0b0011110000000111
|
||||||
|
|
||||||
|
#define RGB_BACKLIGHT_CAPS_LOCK_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 }
|
||||||
|
#define RGB_BACKLIGHT_LAYER_1_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 }
|
||||||
|
#define RGB_BACKLIGHT_LAYER_2_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 }
|
||||||
|
#define RGB_BACKLIGHT_LAYER_3_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 }
|
||||||
|
|
||||||
// TODO: refactor with new user EEPROM code (coming soon)
|
// TODO: refactor with new user EEPROM code (coming soon)
|
||||||
#define EEPROM_MAGIC 0x451F
|
#define EEPROM_MAGIC 0x451F
|
||||||
#define EEPROM_MAGIC_ADDR 32
|
#define EEPROM_MAGIC_ADDR 32
|
||||||
|
|
|
@ -100,6 +100,11 @@
|
||||||
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_3 0b0011000000000001
|
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_3 0b0011000000000001
|
||||||
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_4 0b0011110000000111
|
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_4 0b0011110000000111
|
||||||
|
|
||||||
|
#define RGB_BACKLIGHT_CAPS_LOCK_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 }
|
||||||
|
#define RGB_BACKLIGHT_LAYER_1_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 }
|
||||||
|
#define RGB_BACKLIGHT_LAYER_2_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 }
|
||||||
|
#define RGB_BACKLIGHT_LAYER_3_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 }
|
||||||
|
|
||||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 4
|
#define DYNAMIC_KEYMAP_LAYER_COUNT 4
|
||||||
|
|
||||||
// EEPROM usage
|
// EEPROM usage
|
||||||
|
|
|
@ -74,10 +74,10 @@ backlight_config g_config = {
|
||||||
.effect_speed = 0,
|
.effect_speed = 0,
|
||||||
.color_1 = { .h = 0, .s = 255 },
|
.color_1 = { .h = 0, .s = 255 },
|
||||||
.color_2 = { .h = 127, .s = 255 },
|
.color_2 = { .h = 127, .s = 255 },
|
||||||
.caps_lock_indicator = { .color = { .h = 0, .s = 0 }, .index = 255 },
|
.caps_lock_indicator = RGB_BACKLIGHT_CAPS_LOCK_INDICATOR,
|
||||||
.layer_1_indicator = { .color = { .h = 0, .s = 0 }, .index = 255 },
|
.layer_1_indicator = RGB_BACKLIGHT_LAYER_1_INDICATOR,
|
||||||
.layer_2_indicator = { .color = { .h = 0, .s = 0 }, .index = 255 },
|
.layer_2_indicator = RGB_BACKLIGHT_LAYER_2_INDICATOR,
|
||||||
.layer_3_indicator = { .color = { .h = 0, .s = 0 }, .index = 255 },
|
.layer_3_indicator = RGB_BACKLIGHT_LAYER_3_INDICATOR,
|
||||||
.alphas_mods = {
|
.alphas_mods = {
|
||||||
RGB_BACKLIGHT_ALPHAS_MODS_ROW_0,
|
RGB_BACKLIGHT_ALPHAS_MODS_ROW_0,
|
||||||
RGB_BACKLIGHT_ALPHAS_MODS_ROW_1,
|
RGB_BACKLIGHT_ALPHAS_MODS_ROW_1,
|
||||||
|
|
|
@ -100,6 +100,11 @@
|
||||||
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_3 0b0111000000000001
|
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_3 0b0111000000000001
|
||||||
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_4 0b0111110000000011
|
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_4 0b0111110000000011
|
||||||
|
|
||||||
|
#define RGB_BACKLIGHT_CAPS_LOCK_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 }
|
||||||
|
#define RGB_BACKLIGHT_LAYER_1_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 }
|
||||||
|
#define RGB_BACKLIGHT_LAYER_2_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 }
|
||||||
|
#define RGB_BACKLIGHT_LAYER_3_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 }
|
||||||
|
|
||||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 4
|
#define DYNAMIC_KEYMAP_LAYER_COUNT 4
|
||||||
|
|
||||||
// EEPROM usage
|
// EEPROM usage
|
||||||
|
|
Loading…
Reference in a new issue