forked from kofal.net/zmk
refactor(hid): Use proper defines for HID values.
* Add report ID defines and use them consistently. * Add defines for main item value flags to avoid magic constants.
This commit is contained in:
committed by
Pete Johanson
parent
34c8b3f1e3
commit
c2d220fbdf
@@ -47,12 +47,12 @@ enum {
|
||||
};
|
||||
|
||||
static struct hids_report input = {
|
||||
.id = 0x01,
|
||||
.id = ZMK_HID_REPORT_ID_KEYBOARD,
|
||||
.type = HIDS_INPUT,
|
||||
};
|
||||
|
||||
static struct hids_report consumer_input = {
|
||||
.id = 0x02,
|
||||
.id = ZMK_HID_REPORT_ID_CONSUMER,
|
||||
.type = HIDS_INPUT,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user