use RGB_TOG as toggling external power comes default

This commit is contained in:
FearlessSpiff 2024-04-17 11:44:02 +02:00
parent 1dcef5f034
commit 548e8d1718

View file

@ -9,7 +9,6 @@
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/outputs.h>
#include <dt-bindings/zmk/rgb.h>
#include <dt-bindings/zmk/ext_power.h>
#define BASE 0
#define BLE 1
@ -50,9 +49,9 @@
rgb_layer {
display-name = "RGB";
bindings = <
// ╭──────────────────┬─────────────────┬─────────────────┬──────────────────────────────────┬────────╮
&ext_power EP_TOG &rgb_ug RGB_EFR &rgb_ug RGB_EFF &rgb_ug RGB_COLOR_HSB(307,89,98) &trans
// ╰──────────────────┴─────────────────┴─────────────────┴──────────────────────────────────┴────────╯
// ╭──────────────────┬─────────────────┬─────────────────┬──────────────────────────────────┬────────╮
&rgb_ug RGB_TOG &rgb_ug RGB_EFR &rgb_ug RGB_EFF &rgb_ug RGB_COLOR_HSB(307,89,98) &trans
// ╰──────────────────┴─────────────────┴─────────────────┴──────────────────────────────────┴────────╯
>;
sensor-bindings = <&rgb_encoder>;
};