History

HID: uhid: use generic hidinput_input_event()

HID core provides the same functionality and can convert the input event to a raw output report. We can thus drop UHID_OUTPUT_EV and rely on the mandatory UHID_OUTPUT. User-space wasn't able to do anything with UHID_OUTPUT_EV, anyway. They don't have access to the report fields.

David Herrmann committed 13 years ago

Commit bdb829e1 parent ac126f43 files · +6 −27Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/uhid.h+3−1
@@ -30,7 +30,7 @@ enum uhid_event_type { · 29 unmodified lines
3030 UHID_OPEN,
3131 UHID_CLOSE,
3232 UHID_OUTPUT,
33− UHID_OUTPUT_EV,
33+ UHID_OUTPUT_EV, /* obsolete! */
3434 UHID_INPUT,
3535 UHID_FEATURE,
3636 UHID_FEATURE_ANSWER,
@@ -69,6 +69,8 @@ struct uhid_output_req { · 32 unmodified lines
6969 __u8 rtype;
7070 } __attribute__((__packed__));
7171
72+/* Obsolete! Newer kernels will no longer send these events but instead convert
73+ * it into raw output reports via UHID_OUTPUT. */
7274 struct uhid_output_ev_req {
7375 __u16 type;
7476 __u16 code;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t