forked from kofal.net/zmk
fix: Cleanups of sideband and direct kscan from review.
* Add dedicated init priority for the sideband kscan. * Refactor sideband code for clarity. * Tweaks to direct kscan for clarity. * Make sideband behavior row optional for brevity. * Allow overriding ZMK Uno sideband behaviors.
This commit is contained in:
committed by
Pete Johanson
parent
4198fac90f
commit
5d960a758f
@@ -12,21 +12,18 @@
|
||||
#include <dt-bindings/zmk/outputs.h>
|
||||
#include <dt-bindings/zmk/rgb.h>
|
||||
|
||||
// Uncomment the following block if using the "Direct Wire" jumper to switch the matrix to a direct wire.
|
||||
// Uncomment the following lines if using the "Direct Wire" jumper to switch the matrix to a direct wire.
|
||||
|
||||
/* :REMOVE ME
|
||||
|
||||
&kscan_direct { status = "okay"; };
|
||||
&kscan_matrix { status = "disabled"; };
|
||||
// &kscan_direct { status = "okay"; };
|
||||
// &kscan_matrix { status = "disabled"; };
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
zmk,matrix-transform = &split_direct_matrix_transform;
|
||||
zmk,kscan = &kscan_direct_comp;
|
||||
};
|
||||
};
|
||||
|
||||
REMOVE ME: */
|
||||
// / {
|
||||
// chosen {
|
||||
// zmk,matrix-transform = &split_direct_matrix_transform;
|
||||
// zmk,kscan = &kscan_direct_comp;
|
||||
// };
|
||||
// };
|
||||
|
||||
/ {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user