You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
399 B
20 lines
399 B
|
|
#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>; |
|
}; |
|
}; |
|
};
|
|
|