diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-10-31 00:09:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-31 00:09:47 -0400 |
commit | 2d31e1d05f737ebf8df2c5261912fe79b56a63c3 (patch) | |
tree | 2f32805fffdb24b5806cdf37af762fee221e27c5 /app/dts | |
parent | 3c958e62079059c375b86e29f66137a74c3b36c8 (diff) | |
parent | 821f0540711158985eb38b360b1f1b422408ca31 (diff) |
Merge pull request #269 from joelspadin/endpoint-selection
feat: only send HID reports to one endpoint
Diffstat (limited to 'app/dts')
-rw-r--r-- | app/dts/behaviors.dtsi | 1 | ||||
-rw-r--r-- | app/dts/behaviors/outputs.dtsi | 9 | ||||
-rw-r--r-- | app/dts/bindings/behaviors/zmk,behavior-outputs.yaml | 10 |
3 files changed, 20 insertions, 0 deletions
diff --git a/app/dts/behaviors.dtsi b/app/dts/behaviors.dtsi index 36c918c..a120b84 100644 --- a/app/dts/behaviors.dtsi +++ b/app/dts/behaviors.dtsi @@ -10,3 +10,4 @@ #include <behaviors/rgb_underglow.dtsi> #include <behaviors/bluetooth.dtsi> #include <behaviors/ext_power.dtsi> +#include <behaviors/outputs.dtsi> diff --git a/app/dts/behaviors/outputs.dtsi b/app/dts/behaviors/outputs.dtsi new file mode 100644 index 0000000..a534cbf --- /dev/null +++ b/app/dts/behaviors/outputs.dtsi @@ -0,0 +1,9 @@ +/ { + behaviors { + out: behavior_outputs { + compatible = "zmk,behavior-outputs"; + label = "OUTPUTS"; + #binding-cells = <1>; + }; + }; +}; diff --git a/app/dts/bindings/behaviors/zmk,behavior-outputs.yaml b/app/dts/bindings/behaviors/zmk,behavior-outputs.yaml new file mode 100644 index 0000000..8bcefd9 --- /dev/null +++ b/app/dts/bindings/behaviors/zmk,behavior-outputs.yaml @@ -0,0 +1,10 @@ +# +# Copyright (c) 2020, The ZMK Contributors +# SPDX-License-Identifier: MIT +# + +description: Output Selection Behavior + +compatible: "zmk,behavior-outputs" + +include: one_param.yaml |