zmk-module-coquette/boards/shields/coquette_wings/coquette_birby.overlay
2025-09-15 21:51:07 +01:00

35 lines
1.1 KiB
Text

/*
* Copyright (c) 2025 eden ariel and ember ana
*
* SPDX-License-Identifier: EUPL-1.2
*/
#include "coquette_wings_common.dtsi"
/
{
chosen {
skji,fireflies-wings = &fireflies_wings;
};
fireflies_wings: fireflies_wings {
compatible = "skji,fireflies-wings";
status = "okay";
wings-have-glow;
glow-count = <4>;
gachliliot = [01 00 02 03];
has-lp5814-for-glow;
};
};
// this matrix transform is required due to an errata in birby where the right side buttons were swapped :(
&matrix_transform0 {
map = <
RC(3,0) RC(0,0) RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(4,5) RC(4,4) RC(4,3) RC(4,2) RC(4,1) RC(4,0) RC(7,0)
RC(2,0) RC(1,0) RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(3,1) RC(7,1) RC(5,5) RC(5,4) RC(5,3) RC(5,2) RC(5,1) RC(5,0) RC(6,0)
RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(3,2) RC(7,2) RC(6,5) RC(6,4) RC(6,3) RC(6,2) RC(6,1)
RC(3,4) RC(3,5) RC(3,3) RC(7,3) RC(7,5) RC(7,4)
RC(8,0) RC(8,1) RC(8,2) RC(8,3) RC(8,4) RC(8,5)
>;
};