diff options
author | Jiri Kosina <jkosina@suse.cz> | 2007-11-23 07:16:02 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2008-01-28 08:51:20 -0500 |
commit | 87bc2aa9933afc032a93490e1642918121e7470b (patch) | |
tree | fc09fa3c536a9f9a4dcfc7a6c58ea4551f6c1811 /include/linux | |
parent | 10bd065facb2594bd508597ef464d401b212f379 (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.h | 2 |
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); | |||
525 | int hid_input_report(struct hid_device *, int type, u8 *, int, int); | 525 | int hid_input_report(struct hid_device *, int type, u8 *, int, int); |
526 | int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_field **field); | 526 | int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_field **field); |
527 | int hidinput_mapping_quirks(struct hid_usage *, struct input_dev *, unsigned long *, int *); | 527 | int hidinput_mapping_quirks(struct hid_usage *, struct input_dev *, unsigned long *, int *); |
528 | void hidinput_event_quirks(struct hid_device *, struct hid_field *, struct hid_usage *, __s32); | ||
529 | int hidinput_apple_event(struct hid_device *, struct input_dev *, struct hid_usage *, __s32); | ||
528 | void hid_input_field(struct hid_device *hid, struct hid_field *field, __u8 *data, int interrupt); | 530 | void hid_input_field(struct hid_device *hid, struct hid_field *field, __u8 *data, int interrupt); |
529 | void hid_output_report(struct hid_report *report, __u8 *data); | 531 | void hid_output_report(struct hid_report *report, __u8 *data); |
530 | void hid_free_device(struct hid_device *device); | 532 | void hid_free_device(struct hid_device *device); |