mirror of https://github.com/zmkfirmware/zmk.git
feat(boards): configure underglow-layer for glove80
This commit is contained in:
parent
c73518229e
commit
453d2d8536
|
|
@ -19,6 +19,15 @@
|
|||
zmk,battery = &vbatt;
|
||||
};
|
||||
|
||||
underglow-layer {
|
||||
compatible = "zmk,underglow-layer";
|
||||
pixel-lookup =
|
||||
<52>, <53>, <54>, <69>, <70>, <71>, <15>, <27>, <39>, <51>, <4>, <14>, <26>, <38>,
|
||||
<50>, <68>, <3>, <13>, <25>, <37>, <49>, <67>, <2>, <12>, <24>, <36>, <48>, <66>,
|
||||
<1>, <11>, <23>, <35>, <47>, <65>, <0>, <10>, <22>, <34>, <46>, <64>;
|
||||
};
|
||||
|
||||
|
||||
back_led_backlight: pwmleds {
|
||||
compatible = "pwm-leds";
|
||||
pwm_led_0 {
|
||||
|
|
|
|||
|
|
@ -75,6 +75,13 @@ CONFIG_ZMK_BACKLIGHT_AUTO_OFF_USB=y
|
|||
# space.
|
||||
CONFIG_ZMK_HID_CONSUMER_REPORT_USAGES_BASIC=y
|
||||
|
||||
# Enable USB boot protocol support
|
||||
CONFIG_ZMK_USB_BOOT=y
|
||||
CONFIG_ZMK_HID_INDICATORS=y
|
||||
|
||||
# Send HID indicator to peripherals
|
||||
CONFIG_ZMK_SPLIT_PERIPHERAL_HID_INDICATORS=y
|
||||
|
||||
# Turn on debugging to disable optimization. Debug messages can result in larger
|
||||
# stacks, so enable stack protection and particularly a larger BLE peripheral stack.
|
||||
# CONFIG_DEBUG=y
|
||||
|
|
|
|||
|
|
@ -20,6 +20,15 @@
|
|||
zmk,battery = &vbatt;
|
||||
};
|
||||
|
||||
underglow-layer {
|
||||
compatible = "zmk,underglow-layer";
|
||||
pixel-lookup =
|
||||
<57>, <56>, <55>, <74>, <73>, <72>, <16>, <28>, <40>, <58>, <5>, <17>, <29>, <41>,
|
||||
<59>, <75>, <6>, <18>, <30>, <42>, <60>, <76>, <7>, <19>, <31>, <43>, <61>, <77>,
|
||||
<8>, <20>, <32>, <44>, <62>, <78>, <9>, <21>, <33>, <45>, <63>, <79>;
|
||||
};
|
||||
|
||||
|
||||
back_led_backlight: pwmleds {
|
||||
compatible = "pwm-leds";
|
||||
pwm_led_0 {
|
||||
|
|
|
|||
|
|
@ -59,6 +59,10 @@ CONFIG_ZMK_RGB_UNDERGLOW_HUE_START=285
|
|||
CONFIG_ZMK_RGB_UNDERGLOW_SAT_START=75
|
||||
CONFIG_ZMK_RGB_UNDERGLOW_BRT_START=16
|
||||
|
||||
# Enable HID indicators on peripheral
|
||||
CONFIG_ZMK_HID_INDICATORS=y
|
||||
CONFIG_ZMK_SPLIT_PERIPHERAL_HID_INDICATORS=y
|
||||
|
||||
# The power LED is implemented as a backlight
|
||||
# For now, the power LED is acting as a "USB connected" indicator
|
||||
CONFIG_ZMK_BACKLIGHT=y
|
||||
|
|
|
|||
Loading…
Reference in New Issue