zmk/app/dts/behaviors/mouse_key_press.dtsi
Peter Johanson 0c3536cfc7 refactor(mouse): Tweak behavior inclusion, listener code
* Always import mouse keys behavior and their associated listeners.
* Tweak listener code to only add listener nodes when
  listener and the associated input device are enabled.
2024-08-03 21:11:27 +00:00

13 lines
301 B
Text

/ {
behaviors {
/omit-if-no-ref/ mkp: mouse_key_press {
compatible = "zmk,behavior-mouse-key-press";
#binding-cells = <1>;
};
};
mkp_input_listener: mkp_input_listener {
compatible = "zmk,input-listener";
device = <&mkp>;
};
};