forked from kofal.net/zmk
Move Zephyr app into subdirectory.
This commit is contained in:
13
app/dts/bindings/zmk,keymap.yaml
Normal file
13
app/dts/bindings/zmk,keymap.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
description: |
|
||||
Allows defining a keymap composed of multiple layers
|
||||
|
||||
compatible: "zmk,keymap"
|
||||
|
||||
properties:
|
||||
label:
|
||||
type: string
|
||||
required: true
|
||||
|
||||
layers:
|
||||
type: phandles
|
||||
required: true
|
||||
27
app/dts/bindings/zmk,kscan-composite.yaml
Normal file
27
app/dts/bindings/zmk,kscan-composite.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
description: |
|
||||
Allows composing multiple KSCAN devices into one virtual device
|
||||
|
||||
compatible: "zmk,kscan-composite"
|
||||
|
||||
properties:
|
||||
label:
|
||||
type: string
|
||||
rows:
|
||||
type: int
|
||||
columns:
|
||||
type: int
|
||||
|
||||
child-binding:
|
||||
description: "Details of an included KSCAN devices"
|
||||
|
||||
properties:
|
||||
label:
|
||||
type: string
|
||||
kscan:
|
||||
type: phandle
|
||||
row-offset:
|
||||
type: int
|
||||
default: 0
|
||||
column-offset:
|
||||
type: int
|
||||
default: 0
|
||||
17
app/dts/bindings/zmk,kscan-mock.yaml
Normal file
17
app/dts/bindings/zmk,kscan-mock.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
description: |
|
||||
Allows defining a mock keyboard scan driver that simulates periodic events.
|
||||
|
||||
compatible: "zmk,kscan-mock"
|
||||
|
||||
properties:
|
||||
label:
|
||||
type: string
|
||||
event-period:
|
||||
type: int
|
||||
description: Milliseconds between each generated event
|
||||
events:
|
||||
type: array
|
||||
rows:
|
||||
type: int
|
||||
columns:
|
||||
type: int
|
||||
14
app/dts/bindings/zmk,layers.yaml
Normal file
14
app/dts/bindings/zmk,layers.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
description: |
|
||||
Allows defining the various keymap layers for use.
|
||||
|
||||
compatible: "zmk,layers"
|
||||
|
||||
child-binding:
|
||||
description: "A layer to be used in a keymap"
|
||||
|
||||
properties:
|
||||
label:
|
||||
type: string
|
||||
keys:
|
||||
type: array
|
||||
|
||||
Reference in New Issue
Block a user