mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-01 07:25:50 +00:00
38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
|
#pragma once
|
||
|
|
||
|
/* enable/disable LEDs based on layout */
|
||
|
#undef RGB_BACKLIGHT_USE_SPLIT_BACKSPACE
|
||
|
#define RGB_BACKLIGHT_USE_SPLIT_BACKSPACE 1
|
||
|
|
||
|
#undef RGB_BACKLIGHT_USE_SPLIT_LEFT_SHIFT
|
||
|
#define RGB_BACKLIGHT_USE_SPLIT_LEFT_SHIFT 0
|
||
|
|
||
|
#undef RGB_BACKLIGHT_USE_SPLIT_RIGHT_SHIFT
|
||
|
#define RGB_BACKLIGHT_USE_SPLIT_RIGHT_SHIFT 1
|
||
|
|
||
|
#undef RGB_BACKLIGHT_USE_7U_SPACEBAR
|
||
|
#define RGB_BACKLIGHT_USE_7U_SPACEBAR 1
|
||
|
|
||
|
#undef RGB_BACKLIGHT_USE_ISO_ENTER
|
||
|
#define RGB_BACKLIGHT_USE_ISO_ENTER 0
|
||
|
|
||
|
#undef RGB_BACKLIGHT_DISABLE_HHKB_BLOCKER_LEDS
|
||
|
#define RGB_BACKLIGHT_DISABLE_HHKB_BLOCKER_LEDS 0
|
||
|
|
||
|
// disable backlight when USB suspended (PC sleep/hibernate/shutdown)
|
||
|
//
|
||
|
#undef RGB_BACKLIGHT_DISABLE_WHEN_USB_SUSPENDED
|
||
|
#define RGB_BACKLIGHT_DISABLE_WHEN_USB_SUSPENDED 1
|
||
|
|
||
|
#undef RGB_BACKLIGHT_EFFECT
|
||
|
#define RGB_BACKLIGHT_EFFECT 5
|
||
|
|
||
|
#undef RGB_BACKLIGHT_CAPS_LOCK_INDICATOR
|
||
|
#undef RGB_BACKLIGHT_LAYER_2_INDICATOR
|
||
|
#undef RGB_BACKLIGHT_LAYER_3_INDICATOR
|
||
|
|
||
|
#define RGB_BACKLIGHT_CAPS_LOCK_INDICATOR { .color = { .h = 0, .s= 255}, .index = 254}
|
||
|
#define RGB_BACKLIGHT_LAYER_2_INDICATOR { .color = { .h = 150, .s = 255 }, .index = 60-1 } //blue
|
||
|
#define RGB_BACKLIGHT_LAYER_3_INDICATOR { .color = { .h = 100, .s = 255 }, .index = 60-1 } //blue
|
||
|
|