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

@@ -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)

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

@@ -46,6 +46,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#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

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

@@ -21,8 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

/* 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 <http://www.gnu.org/licenses/>.
#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