2020-11-03 08:54:16 -08:00
|
|
|
|
|
|
|
#include <dt-bindings/zmk/hid_usage_pages.h>
|
2020-06-22 08:06:01 -07:00
|
|
|
|
2020-06-19 12:32:33 -07:00
|
|
|
/ {
|
|
|
|
behaviors {
|
|
|
|
kp: behavior_key_press {
|
|
|
|
compatible = "zmk,behavior-key-press";
|
|
|
|
label = "KEY_PRESS";
|
2020-11-03 08:54:16 -08:00
|
|
|
usage_page = <HID_USAGE_KEY>;
|
2020-06-22 08:06:01 -07:00
|
|
|
#binding-cells = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cp: behavior_consumer_press {
|
|
|
|
compatible = "zmk,behavior-key-press";
|
|
|
|
label = "CONSUMER_PRESS";
|
2020-11-03 08:54:16 -08:00
|
|
|
usage_page = <HID_USAGE_CONSUMER>;
|
2020-06-19 12:32:33 -07:00
|
|
|
#binding-cells = <1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|