e925319e4c
Deprecate `USAGE_KEYPAD` and replace with `HID_USAGE_KEY`. Deprecate `USAGE_CONSUMER` and replace with `HID_USAGE_CONSUMER`. Closes #217.
20 lines
399 B
Text
20 lines
399 B
Text
|
|
#include <dt-bindings/zmk/hid_usage_pages.h>
|
|
|
|
/ {
|
|
behaviors {
|
|
kp: behavior_key_press {
|
|
compatible = "zmk,behavior-key-press";
|
|
label = "KEY_PRESS";
|
|
usage_page = <HID_USAGE_KEY>;
|
|
#binding-cells = <1>;
|
|
};
|
|
|
|
cp: behavior_consumer_press {
|
|
compatible = "zmk,behavior-key-press";
|
|
label = "CONSUMER_PRESS";
|
|
usage_page = <HID_USAGE_CONSUMER>;
|
|
#binding-cells = <1>;
|
|
};
|
|
};
|
|
};
|