• Home
  • Raw
  • Download

Lines Matching full:hid

53 diff --git a/drivers/hid/Makefile b/drivers/hid/Makefile
55 --- a/drivers/hid/Makefile
56 +++ b/drivers/hid/Makefile
59 # Makefile for the HID driver
74 hid-y := hid-core.o hid-input.o hid-quirks.o
75 hid-$(CONFIG_DEBUG_FS) += hid-debug.o
77 diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
79 --- a/drivers/hid/hid-core.c
80 +++ b/drivers/hid/hid-core.c
82 #include <linux/hid-debug.h>
88 #include "hid-ids.h"
91 @@ -1522,6 +1525,11 @@ static void hid_process_event(struct hid_device *hid, struct hid_field *fiel…
92 hidinput_hid_event(hid, field, usage, value);
93 if (hid->claimed & HID_CLAIMED_HIDDEV && interrupt && hid->hiddev_hid_event)
94 hid->hiddev_hid_event(hid, field, usage, value);
96 + if (hid->input_dev) {
97 + HidReportEvent(hid->input_dev, usage->type, usage->code, value);
186 hid_info(hdev, "%s: %s HID v%x.%02x %s [%s] on %s\n",
218 diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
220 --- a/drivers/hid/hid-input.c
221 +++ b/drivers/hid/hid-input.c
223 #include <linux/hid.h>
224 #include <linux/hid-debug.h>
230 #include "hid-ids.h"
233 @@ -1418,7 +1422,15 @@ void hidinput_report_event(struct hid_device *hid, struct hid_report *report)
236 list_for_each_entry(hidinput, &hid->inputs, list)
242 + if(hid->input_dev)
243 + HidReportEvent(hid->input_dev, EV_SYN, SYN_REPORT, 0);
291 @@ -1954,6 +2001,9 @@ int hidinput_connect(struct hid_device *hid, unsigned int force)
314 diff --git a/include/linux/hid.h b/include/linux/hid.h
316 --- a/include/linux/hid.h
317 +++ b/include/linux/hid.h