aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2007-11-23 07:16:02 -0500
committerJiri Kosina <jkosina@suse.cz>2008-01-28 08:51:20 -0500
commit87bc2aa9933afc032a93490e1642918121e7470b (patch)
treefc09fa3c536a9f9a4dcfc7a6c58ea4551f6c1811 /include/linux
parent10bd065facb2594bd508597ef464d401b212f379 (diff)
HID: separate hid-input event quirks from generic code
This patch separates also the hid-input quirks that have to be applied at the time the event occurs, so that the generic code handling HUT-compliant devices is not messed up by them too much. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/hid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index cd5d562b1b7c..dca5804836f3 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -525,6 +525,8 @@ int hid_set_field(struct hid_field *, unsigned, __s32);
525int hid_input_report(struct hid_device *, int type, u8 *, int, int); 525int hid_input_report(struct hid_device *, int type, u8 *, int, int);
526int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_field **field); 526int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_field **field);
527int hidinput_mapping_quirks(struct hid_usage *, struct input_dev *, unsigned long *, int *); 527int hidinput_mapping_quirks(struct hid_usage *, struct input_dev *, unsigned long *, int *);
528void hidinput_event_quirks(struct hid_device *, struct hid_field *, struct hid_usage *, __s32);
529int hidinput_apple_event(struct hid_device *, struct input_dev *, struct hid_usage *, __s32);
528void hid_input_field(struct hid_device *hid, struct hid_field *field, __u8 *data, int interrupt); 530void hid_input_field(struct hid_device *hid, struct hid_field *field, __u8 *data, int interrupt);
529void hid_output_report(struct hid_report *report, __u8 *data); 531void hid_output_report(struct hid_report *report, __u8 *data);
530void hid_free_device(struct hid_device *device); 532void hid_free_device(struct hid_device *device);