1
0

staryu: Improve experience of backlight

This commit is contained in:
Kai Ryu 2016-11-04 20:03:26 +09:00
parent 2034ffcbb0
commit d17103e6c8
3 changed files with 6 additions and 3 deletions

View File

@ -123,7 +123,7 @@ endif
# 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)

View File

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

View File

@ -21,8 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* USB Device descriptor parameter */ /* USB Device descriptor parameter */
#define VENDOR_ID 0x1209 #define VENDOR_ID 0x1209
#define PRODUCT_ID 0x2333 #define PRODUCT_ID 0x2328
#define DEVICE_VER 0x0104 #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
@ -45,6 +45,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#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