diff options
author | ZyberSE <reine@tuba.nu> | 2022-09-30 04:01:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-29 19:01:33 -0700 |
commit | adcdacf93c7d83306e794fad8f6c3c1ba19bd414 (patch) | |
tree | b7bf2eb4bafe8d8260c80c62eea92ad1c1857ab7 /keyboards/wilba_tech/zeal65/keymaps/zyber/config.h | |
parent | 5b2eb4ec85062125ed44c1a790d087a1d604a1ed (diff) |
[Keymap] Personal user space code and keymaps by ZyBeR (#18512)
Co-authored-by: ZyBeR <n/a>
Diffstat (limited to 'keyboards/wilba_tech/zeal65/keymaps/zyber/config.h')
-rw-r--r-- | keyboards/wilba_tech/zeal65/keymaps/zyber/config.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/keyboards/wilba_tech/zeal65/keymaps/zyber/config.h b/keyboards/wilba_tech/zeal65/keymaps/zyber/config.h new file mode 100644 index 0000000000..2d35bacc56 --- /dev/null +++ b/keyboards/wilba_tech/zeal65/keymaps/zyber/config.h @@ -0,0 +1,31 @@ +// Copyright 2022 ZyBeR (@ZyberSE) +// SPDX-License-Identifier: GPL-2.0 + +#pragma once + +/** + * Enable/disable LEDs based on layout + */ +#undef RGB_BACKLIGHT_USE_SPLIT_BACKSPACE +#define RGB_BACKLIGHT_USE_SPLIT_BACKSPACE 0 + + +/** + * Switch off Backlight when computer is suspended + */ +#undef RGB_BACKLIGHT_DISABLE_WHEN_USB_SUSPENDED +#define RGB_BACKLIGHT_DISABLE_WHEN_USB_SUSPENDED 1 + + +/** + * Use http://colorizer.org/ to get a 0-360 hue value + * then convert it into a 0-255 value with n = (hue / 360 * 255). + */ +#undef RGB_BACKLIGHT_CAPS_LOCK_INDICATOR +#define RGB_BACKLIGHT_CAPS_LOCK_INDICATOR { .color = { .h = 255, .s = 255 }, .index = 254 } +#undef RGB_BACKLIGHT_LAYER_1_INDICATOR +#define RGB_BACKLIGHT_LAYER_1_INDICATOR { .color = { .h = 87, .s = 255 }, .index = 254 } +#undef RGB_BACKLIGHT_LAYER_2_INDICATOR +#define RGB_BACKLIGHT_LAYER_2_INDICATOR { .color = { .h = 167, .s = 255 }, .index = 254 } +#undef RGB_BACKLIGHT_LAYER_3_INDICATOR +#define RGB_BACKLIGHT_LAYER_3_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 } |