forked from zmkfirmware/zmk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Add kscan sideband behavior driver
* Instead of gpio key behavior trigger, add new kscan driver that decorates/wraps a given kscan driver and will invoke basic system behavior assigned to a given row + column, without the need for keymap mapping in the matrix transform, bypassing keymaps entirely.
- Loading branch information
1 parent
e78b25a
commit a0ad1d4
Showing
8 changed files
with
192 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright (c) 2023, The ZMK Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
description: | | ||
kscan sideband behavior runner. Only basic system behavior should be used, | ||
since no keymap processing occurs when using them. | ||
compatible: "zmk,kscan-sideband-behaviors" | ||
|
||
include: [kscan.yaml] | ||
|
||
properties: | ||
kscan: | ||
type: phandle | ||
required: true | ||
|
||
child-binding: | ||
description: "A sideband behavior tied to a row/column pair" | ||
|
||
properties: | ||
row: | ||
type: int | ||
required: true | ||
column: | ||
type: int | ||
required: true | ||
bindings: | ||
type: phandle-array | ||
required: true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.