Browse Source

staryu: Improve experience of backlight

master
Kai Ryu 7 years ago
parent
commit
d17103e6c8
3 changed files with 6 additions and 3 deletions
  1. 1
    1
      keyboard/staryu/Makefile_lite
  2. 1
    0
      keyboard/staryu/config.h
  3. 4
    2
      keyboard/staryu/config_lite.h

+ 1
- 1
keyboard/staryu/Makefile_lite View File

# Build Options # Build Options
# comment out to disable the 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) #MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450) EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
#CONSOLE_ENABLE = yes # Console for debug(+400) #CONSOLE_ENABLE = yes # Console for debug(+400)

+ 1
- 0
keyboard/staryu/config.h View File

#define CUSTOM_LED_ENABLE #define CUSTOM_LED_ENABLE
#define RGB_LED_ENABLE #define RGB_LED_ENABLE
#define SOFTPWM_LED_FREQ 80 #define SOFTPWM_LED_FREQ 80
#define REDUCE_CALLBACK_ON_LEVEL_CHANGE


/* number of LEDs */ /* number of LEDs */
#define LED_COUNT 6 #define LED_COUNT 6

+ 4
- 2
keyboard/staryu/config_lite.h View File



/* USB Device descriptor parameter */ /* USB Device descriptor parameter */
#define VENDOR_ID 0x1209 #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 MANUFACTURER K.T.E.C.
#define PRODUCT Staryu Lite #define PRODUCT Staryu Lite
#define DESCRIPTION t.m.k. keyboard firmware for Staryu #define DESCRIPTION t.m.k. keyboard firmware for Staryu
#define BACKLIGHT_LEVELS 7 #define BACKLIGHT_LEVELS 7
#define CUSTOM_LED_ENABLE #define CUSTOM_LED_ENABLE
#define RGB_LED_ENABLE #define RGB_LED_ENABLE
#define SOFTPWM_LED_FREQ 80
#define REDUCE_CALLBACK_ON_LEVEL_CHANGE


/* number of LEDs */ /* number of LEDs */
#define LED_COUNT 6 #define LED_COUNT 6