Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: HID: Add support for Sony Vaio VGX-TP1E HID: fix lock imbalance in hiddev HID: fix lock imbalance in hidraw HID: fix hidbus/appletouch device binding regression HID: add hid_type to general hid struct HID: quirk for OLED devices present in ASUS G50/G70/G71 HID: Remove "default m" for Thrustmaster and Zeroplus HID: fix hidraw_exit section mismatch HID: add support for another Gyration remote control Revert "HID: Invert HWHEEL mappings for some Logitech mice"
This commit is contained in:
commit
ecc96e7920
11 changed files with 124 additions and 57 deletions
|
|
@ -417,6 +417,11 @@ struct hid_input {
|
|||
struct input_dev *input;
|
||||
};
|
||||
|
||||
enum hid_type {
|
||||
HID_TYPE_OTHER = 0,
|
||||
HID_TYPE_USBMOUSE
|
||||
};
|
||||
|
||||
struct hid_driver;
|
||||
struct hid_ll_driver;
|
||||
|
||||
|
|
@ -431,6 +436,7 @@ struct hid_device { /* device report descriptor */
|
|||
__u32 vendor; /* Vendor ID */
|
||||
__u32 product; /* Product ID */
|
||||
__u32 version; /* HID version */
|
||||
enum hid_type type; /* device type (mouse, kbd, ...) */
|
||||
unsigned country; /* HID country */
|
||||
struct hid_report_enum report_enum[HID_REPORT_TYPES];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue