• Home
  • Raw
  • Download

Lines Matching full:hid

70 diff --git a/drivers/hid/Makefile b/drivers/hid/Makefile
72 --- a/drivers/hid/Makefile
73 +++ b/drivers/hid/Makefile
76 # Makefile for the HID driver
91 hid-y := hid-core.o hid-input.o hid-quirks.o
92 hid-$(CONFIG_DEBUG_FS) += hid-debug.o
94 diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
96 --- a/drivers/hid/hid-core.c
97 +++ b/drivers/hid/hid-core.c
99 #include <linux/hid-debug.h>
105 #include "hid-ids.h"
108 @@ -1340,6 +1343,11 @@ static void hid_process_event(struct hid_device *hid, struct hid_field *fiel…
109 hidinput_hid_event(hid, field, usage, value);
110 if (hid->claimed & HID_CLAIMED_HIDDEV && interrupt && hid->hiddev_hid_event)
111 hid->hiddev_hid_event(hid, field, usage, value);
113 + if (hid->input_dev) {
114 + HidReportEvent(hid->input_dev, usage->type, usage->code, value);
203 hid_info(hdev, "%s: %s HID v%x.%02x %s [%s] on %s\n",
235 diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
237 --- a/drivers/hid/hid-input.c
238 +++ b/drivers/hid/hid-input.c
240 #include <linux/hid.h>
241 #include <linux/hid-debug.h>
247 #include "hid-ids.h"
250 @@ -1365,7 +1369,15 @@ void hidinput_report_event(struct hid_device *hid, struct hid_report *report)
253 list_for_each_entry(hidinput, &hid->inputs, list)
259 + if(hid->input_dev)
260 + HidReportEvent(hid->input_dev, EV_SYN, SYN_REPORT, 0);
308 @@ -1811,7 +1858,9 @@ int hidinput_connect(struct hid_device *hid, unsigned int force)
309 hidinput_cleanup_hidinput(hid, hidinput);
319 diff --git a/include/linux/hid.h b/include/linux/hid.h
321 --- a/include/linux/hid.h
322 +++ b/include/linux/hid.h