feat(boards): configure underglow-layer for glove80

This commit is contained in:
darknao 2026-01-15 20:14:29 +01:00
parent c73518229e
commit 453d2d8536
No known key found for this signature in database
4 changed files with 29 additions and 0 deletions

View File

@ -19,6 +19,15 @@
zmk,battery = &vbatt; 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 { back_led_backlight: pwmleds {
compatible = "pwm-leds"; compatible = "pwm-leds";
pwm_led_0 { pwm_led_0 {

View File

@ -75,6 +75,13 @@ CONFIG_ZMK_BACKLIGHT_AUTO_OFF_USB=y
# space. # space.
CONFIG_ZMK_HID_CONSUMER_REPORT_USAGES_BASIC=y 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 # Turn on debugging to disable optimization. Debug messages can result in larger
# stacks, so enable stack protection and particularly a larger BLE peripheral stack. # stacks, so enable stack protection and particularly a larger BLE peripheral stack.
# CONFIG_DEBUG=y # CONFIG_DEBUG=y

View File

@ -20,6 +20,15 @@
zmk,battery = &vbatt; 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 { back_led_backlight: pwmleds {
compatible = "pwm-leds"; compatible = "pwm-leds";
pwm_led_0 { pwm_led_0 {

View File

@ -59,6 +59,10 @@ CONFIG_ZMK_RGB_UNDERGLOW_HUE_START=285
CONFIG_ZMK_RGB_UNDERGLOW_SAT_START=75 CONFIG_ZMK_RGB_UNDERGLOW_SAT_START=75
CONFIG_ZMK_RGB_UNDERGLOW_BRT_START=16 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 # The power LED is implemented as a backlight
# For now, the power LED is acting as a "USB connected" indicator # For now, the power LED is acting as a "USB connected" indicator
CONFIG_ZMK_BACKLIGHT=y CONFIG_ZMK_BACKLIGHT=y