mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-13 07:25:44 +00:00
format code according to conventions [skip ci]
This commit is contained in:
parent
e036b94a21
commit
4888a118c3
1 changed files with 27 additions and 19 deletions
|
@ -381,27 +381,35 @@ UDC_DESC_STORAGE udi_hid_exk_report_desc_t udi_hid_exk_report_desc = {{
|
|||
0x09, 0x80, // Usage (System Control)
|
||||
0xA1, 0x01, // Collection (Application)
|
||||
0x85, REPORT_ID_SYSTEM, // Report ID
|
||||
0x1A, 0x81, 0x00, // Usage Minimum (81) (System Power Down)
|
||||
0x2A, 0x83, 0x00, // Usage Maximum (83) (System Wake Up)
|
||||
0x16, 0x01, 0x00, // Logical Minimum (1)
|
||||
0x26, 0x03, 0x00, // Logical Maximum (3)
|
||||
0x95, 0x01, // Report Count (1)
|
||||
0x75, 0x10, // Report Size (16)
|
||||
0x81, 0x00, // Input (Data, Array, Absolute)
|
||||
0xC0, // End Collection
|
||||
0x1A, 0x81,
|
||||
0x00, // Usage Minimum (81) (System Power Down)
|
||||
0x2A, 0x83,
|
||||
0x00, // Usage Maximum (83) (System Wake Up)
|
||||
0x16, 0x01,
|
||||
0x00, // Logical Minimum (1)
|
||||
0x26, 0x03,
|
||||
0x00, // Logical Maximum (3)
|
||||
0x95, 0x01, // Report Count (1)
|
||||
0x75, 0x10, // Report Size (16)
|
||||
0x81, 0x00, // Input (Data, Array, Absolute)
|
||||
0xC0, // End Collection
|
||||
|
||||
0x05, 0x0C, // Usage Page (Consumer)
|
||||
0x09, 0x01, // Usage (Consumer Control)
|
||||
0xA1, 0x01, // Collection (Application)
|
||||
0x85, REPORT_ID_CONSUMER, // Report ID
|
||||
0x1A, 0x01, 0x00, // Usage Minimum (Consumer Control)
|
||||
0x2A, 0x9C, 0x02, // Usage Maximum (AC Distribute Vertically)
|
||||
0x16, 0x01, 0x00, // Logical Minimum
|
||||
0x26, 0x9C, 0x02, // Logical Maximum
|
||||
0x95, 0x01, // Report Count (1)
|
||||
0x75, 0x10, // Report Size (16)
|
||||
0x81, 0x00, // Input (Data, Array, Absolute)
|
||||
0xC0 // End Collection
|
||||
0x1A, 0x01,
|
||||
0x00, // Usage Minimum (Consumer Control)
|
||||
0x2A, 0x9C,
|
||||
0x02, // Usage Maximum (AC Distribute Vertically)
|
||||
0x16, 0x01,
|
||||
0x00, // Logical Minimum
|
||||
0x26, 0x9C,
|
||||
0x02, // Logical Maximum
|
||||
0x95, 0x01, // Report Count (1)
|
||||
0x75, 0x10, // Report Size (16)
|
||||
0x81, 0x00, // Input (Data, Array, Absolute)
|
||||
0xC0 // End Collection
|
||||
}};
|
||||
|
||||
static bool udi_hid_exk_setreport(void);
|
||||
|
@ -758,9 +766,9 @@ static uint8_t udi_hid_con_report_trans[UDI_HID_CON_REPORT_SIZE];
|
|||
|
||||
COMPILER_WORD_ALIGNED
|
||||
UDC_DESC_STORAGE udi_hid_con_report_desc_t udi_hid_con_report_desc = {{
|
||||
0x06, 0x31, 0xFF, // Usage Page (Vendor Defined - PJRC Teensy compatible)
|
||||
0x09, 0x74, // Usage (Vendor Defined - PJRC Teensy compatible)
|
||||
0xA1, 0x01, // Collection (Application)
|
||||
0x06, 0x31, 0xFF, // Usage Page (Vendor Defined - PJRC Teensy compatible)
|
||||
0x09, 0x74, // Usage (Vendor Defined - PJRC Teensy compatible)
|
||||
0xA1, 0x01, // Collection (Application)
|
||||
// Data to host
|
||||
0x09, 0x75, // Usage (Vendor Defined)
|
||||
0x15, 0x00, // Logical Minimum (0x00)
|
||||
|
|
Loading…
Reference in a new issue