forked from kofal.net/zmk
Lots more pieces toward HID working again.
This commit is contained in:
9
app/dts/behaviors/hid.dtsi
Normal file
9
app/dts/behaviors/hid.dtsi
Normal file
@@ -0,0 +1,9 @@
|
||||
/ {
|
||||
behaviors {
|
||||
hid_behavior: behavior_hid {
|
||||
compatible = "zmk,behavior-hid";
|
||||
label = "HID";
|
||||
#binding-cells = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
9
app/dts/behaviors/keymap.dtsi
Normal file
9
app/dts/behaviors/keymap.dtsi
Normal file
@@ -0,0 +1,9 @@
|
||||
/ {
|
||||
behaviors {
|
||||
keymap_behavior: behavior_keymap {
|
||||
compatible = "zmk,behavior-keymap";
|
||||
label = "KEYMAP";
|
||||
#binding-cells = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
8
app/dts/bindings/behaviors/zmk,behavior-hid.yaml
Normal file
8
app/dts/bindings/behaviors/zmk,behavior-hid.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2020, Pete Johanson
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
description: HID Report Behavior
|
||||
|
||||
compatible: "zmk,behavior-hid"
|
||||
|
||||
include: zero_param.yaml
|
||||
8
app/dts/bindings/behaviors/zmk,behavior-keymap.yaml
Normal file
8
app/dts/bindings/behaviors/zmk,behavior-keymap.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2020, Pete Johanson
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
description: Keymap Behavior
|
||||
|
||||
compatible: "zmk,behavior-keymap"
|
||||
|
||||
include: zero_param.yaml
|
||||
9
app/dts/bindings/zmk,global-bindings.yaml
Normal file
9
app/dts/bindings/zmk,global-bindings.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
description: |
|
||||
Specify the the global behaviors bound to state changes
|
||||
|
||||
compatible: "zmk,global-bindings"
|
||||
|
||||
properties:
|
||||
bindings:
|
||||
type: phandles
|
||||
required: true
|
||||
Reference in New Issue
Block a user