diff options
Diffstat (limited to 'include/uapi/linux/uhid.h')
-rw-r--r-- | include/uapi/linux/uhid.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/uapi/linux/uhid.h b/include/uapi/linux/uhid.h index 62aac0e4edf3..aaa86d6bd1dd 100644 --- a/include/uapi/linux/uhid.h +++ b/include/uapi/linux/uhid.h | |||
@@ -54,6 +54,16 @@ struct uhid_create2_req { | |||
54 | __u8 rd_data[HID_MAX_DESCRIPTOR_SIZE]; | 54 | __u8 rd_data[HID_MAX_DESCRIPTOR_SIZE]; |
55 | } __attribute__((__packed__)); | 55 | } __attribute__((__packed__)); |
56 | 56 | ||
57 | enum uhid_dev_flag { | ||
58 | UHID_DEV_NUMBERED_FEATURE_REPORTS = (1ULL << 0), | ||
59 | UHID_DEV_NUMBERED_OUTPUT_REPORTS = (1ULL << 1), | ||
60 | UHID_DEV_NUMBERED_INPUT_REPORTS = (1ULL << 2), | ||
61 | }; | ||
62 | |||
63 | struct uhid_start_req { | ||
64 | __u64 dev_flags; | ||
65 | }; | ||
66 | |||
57 | #define UHID_DATA_MAX 4096 | 67 | #define UHID_DATA_MAX 4096 |
58 | 68 | ||
59 | enum uhid_report_type { | 69 | enum uhid_report_type { |
@@ -182,6 +192,7 @@ struct uhid_event { | |||
182 | struct uhid_input2_req input2; | 192 | struct uhid_input2_req input2; |
183 | struct uhid_set_report_req set_report; | 193 | struct uhid_set_report_req set_report; |
184 | struct uhid_set_report_reply_req set_report_reply; | 194 | struct uhid_set_report_reply_req set_report_reply; |
195 | struct uhid_start_req start; | ||
185 | } u; | 196 | } u; |
186 | } __attribute__((__packed__)); | 197 | } __attribute__((__packed__)); |
187 | 198 | ||