From d17103e6c82de19dd620632fe3c79aa3077825b4 Mon Sep 17 00:00:00 2001 From: Kai Ryu Date: Fri, 4 Nov 2016 20:03:26 +0900 Subject: [PATCH] staryu: Improve experience of backlight --- keyboard/staryu/Makefile_lite | 2 +- keyboard/staryu/config.h | 1 + keyboard/staryu/config_lite.h | 6 ++++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/keyboard/staryu/Makefile_lite b/keyboard/staryu/Makefile_lite index f4e0344d..8c5ce4be 100644 --- a/keyboard/staryu/Makefile_lite +++ b/keyboard/staryu/Makefile_lite @@ -123,7 +123,7 @@ endif # Build Options # comment out to disable the options. # -BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) +#BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) #MOUSEKEY_ENABLE = yes # Mouse keys(+4700) EXTRAKEY_ENABLE = yes # Audio control and System control(+450) #CONSOLE_ENABLE = yes # Console for debug(+400) diff --git a/keyboard/staryu/config.h b/keyboard/staryu/config.h index f551d22d..0950fdc3 100644 --- a/keyboard/staryu/config.h +++ b/keyboard/staryu/config.h @@ -46,6 +46,7 @@ along with this program. If not, see . #define CUSTOM_LED_ENABLE #define RGB_LED_ENABLE #define SOFTPWM_LED_FREQ 80 +#define REDUCE_CALLBACK_ON_LEVEL_CHANGE /* number of LEDs */ #define LED_COUNT 6 diff --git a/keyboard/staryu/config_lite.h b/keyboard/staryu/config_lite.h index 8942d809..4bfa8535 100644 --- a/keyboard/staryu/config_lite.h +++ b/keyboard/staryu/config_lite.h @@ -21,8 +21,8 @@ along with this program. If not, see . /* USB Device descriptor parameter */ #define VENDOR_ID 0x1209 -#define PRODUCT_ID 0x2333 -#define DEVICE_VER 0x0104 +#define PRODUCT_ID 0x2328 +#define DEVICE_VER 0x0205 #define MANUFACTURER K.T.E.C. #define PRODUCT Staryu Lite #define DESCRIPTION t.m.k. keyboard firmware for Staryu @@ -45,6 +45,8 @@ along with this program. If not, see . #define BACKLIGHT_LEVELS 7 #define CUSTOM_LED_ENABLE #define RGB_LED_ENABLE +#define SOFTPWM_LED_FREQ 80 +#define REDUCE_CALLBACK_ON_LEVEL_CHANGE /* number of LEDs */ #define LED_COUNT 6