forked from kofal.net/zmk
feature(split): behavior locality support.
* GATT characteristic allowing passng data + behavior label to invoke the behavior on the peripheral side. * Behaviors have a locality setting to specify where they run. * Build reset/power/RGB on peripheral.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
behaviors {
|
||||
/omit-if-no-ref/ ext_power: behavior_ext_power {
|
||||
compatible = "zmk,behavior-ext-power";
|
||||
label = "EXT_POWER_BEHAVIOR";
|
||||
label = "EXTPOWER";
|
||||
#binding-cells = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
/omit-if-no-ref/ bootloader: behavior_reset_dfu {
|
||||
compatible = "zmk,behavior-reset";
|
||||
label = "BOOTLOADER_RESET";
|
||||
label = "BOOTLOAD";
|
||||
type = <RST_UF2>;
|
||||
#binding-cells = <0>;
|
||||
};
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
behaviors {
|
||||
/omit-if-no-ref/ rgb_ug: behavior_rgb_underglow {
|
||||
compatible = "zmk,behavior-rgb-underglow";
|
||||
label = "RGB_UNDERGLOW";
|
||||
label = "RGB_UG";
|
||||
#binding-cells = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user