2020-06-23 01:06:01 +10:00
|
|
|
#include <dt-bindings/zmk/keys.h>
|
|
|
|
|
2020-06-20 05:32:33 +10:00
|
|
|
/ {
|
|
|
|
behaviors {
|
|
|
|
kp: behavior_key_press {
|
|
|
|
compatible = "zmk,behavior-key-press";
|
|
|
|
label = "KEY_PRESS";
|
2020-06-23 01:06:01 +10:00
|
|
|
usage_page = <USAGE_KEYPAD>;
|
|
|
|
#binding-cells = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cp: behavior_consumer_press {
|
|
|
|
compatible = "zmk,behavior-key-press";
|
|
|
|
label = "CONSUMER_PRESS";
|
|
|
|
usage_page = <USAGE_CONSUMER>;
|
2020-06-20 05:32:33 +10:00
|
|
|
#binding-cells = <1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|