* For upcoming ZMK studio work, make a set of rich metadata available to provide a friendly name for a behavior, and allow super flexible descriptions of the parameters the behaviors take. * Add ability to validate a zmk_behavior_binding against the behavior metadata available.
16 lines
371 B
Text
16 lines
371 B
Text
/*
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
/ {
|
|
behaviors {
|
|
// Behavior can be invoked on peripherals, so name must be <= 8 characters.
|
|
ext_power: extpower {
|
|
compatible = "zmk,behavior-ext-power";
|
|
#binding-cells = <1>;
|
|
display-name = "External Power";
|
|
};
|
|
};
|
|
};
|