diff options
Diffstat (limited to 'app/dts/behaviors/key_press.dtsi')
-rw-r--r-- | app/dts/behaviors/key_press.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/dts/behaviors/key_press.dtsi b/app/dts/behaviors/key_press.dtsi index 7c7ac5b..5a01953 100644 --- a/app/dts/behaviors/key_press.dtsi +++ b/app/dts/behaviors/key_press.dtsi @@ -1,8 +1,18 @@ +#include <dt-bindings/zmk/keys.h> + / { behaviors { kp: behavior_key_press { compatible = "zmk,behavior-key-press"; label = "KEY_PRESS"; + usage_page = <USAGE_KEYPAD>; + #binding-cells = <1>; + }; + + cp: behavior_consumer_press { + compatible = "zmk,behavior-key-press"; + label = "CONSUMER_PRESS"; + usage_page = <USAGE_CONSUMER>; #binding-cells = <1>; }; }; |