mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Change default brightness to 0
This commit is contained in:
parent
6eb394bcc2
commit
ddf41635da
|
@ -46,15 +46,14 @@ void clevo_leds_set_color_extern(u32 color);
|
|||
|
||||
#include <linux/led-class-multicolor.h>
|
||||
|
||||
#define CLEVO_KBD_BRIGHTNESS_MIN 0x00
|
||||
#define CLEVO_KBD_BRIGHTNESS_MAX 0xff
|
||||
#define CLEVO_KBD_BRIGHTNESS_DEFAULT (CLEVO_KBD_BRIGHTNESS_MAX * 0.5)
|
||||
#define CLEVO_KBD_BRIGHTNESS_DEFAULT 0x00
|
||||
|
||||
#define CLEVO_KBD_BRIGHTNESS_WHITE_MIN 0x00
|
||||
#define CLEVO_KBD_BRIGHTNESS_WHITE_MAX 0x02 // White only keyboards can only be off, half, or full brightness
|
||||
#define CLEVO_KBD_BRIGHTNESS_WHITE_DEFAULT (CLEVO_KBD_BRIGHTNESS_WHITE_MAX * 0.5)
|
||||
#define CLEVO_KBD_BRIGHTNESS_WHITE_DEFAULT 0x00
|
||||
|
||||
#define CLEVO_KBD_BRIGHTNESS_WHITE_MAX_5 0x05 // Devices <= Intel 7th gen had a different white control with 5 brightness values + off
|
||||
#define CLEVO_KBD_BRIGHTNESS_WHITE_MAX_5_DEFAULT (CLEVO_KBD_BRIGHTNESS_WHITE_MAX * 0.5)
|
||||
#define CLEVO_KBD_BRIGHTNESS_WHITE_MAX_5_DEFAULT 0x00
|
||||
|
||||
#define CLEVO_KB_COLOR_DEFAULT_RED 0xff
|
||||
#define CLEVO_KB_COLOR_DEFAULT_GREEN 0xff
|
||||
|
|
|
@ -33,10 +33,10 @@ enum uniwill_kb_backlight_types {
|
|||
};
|
||||
|
||||
#define UNIWILL_KBD_BRIGHTNESS_MAX 0xff
|
||||
#define UNIWILL_KBD_BRIGHTNESS_DEFAULT (UNIWILL_KBD_BRIGHTNESS_MAX * 0.5)
|
||||
#define UNIWILL_KBD_BRIGHTNESS_DEFAULT 0x00
|
||||
|
||||
#define UNIWILL_KBD_BRIGHTNESS_WHITE_MAX 0x2
|
||||
#define UNIWILL_KBD_BRIGHTNESS_WHITE_DEFAULT (UNIWILL_KBD_BRIGHTNESS_WHITE_MAX * 0.5)
|
||||
#define UNIWILL_KBD_BRIGHTNESS_WHITE_MAX 0x02
|
||||
#define UNIWILL_KBD_BRIGHTNESS_WHITE_DEFAULT 0x00
|
||||
|
||||
#define UNIWILL_KB_COLOR_DEFAULT_RED 0xff
|
||||
#define UNIWILL_KB_COLOR_DEFAULT_GREEN 0xff
|
||||
|
|
Loading…
Reference in a new issue