aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2007-11-22 09:18:18 -0500
committerJiri Kosina <jkosina@suse.cz>2008-01-28 08:51:20 -0500
commit10bd065facb2594bd508597ef464d401b212f379 (patch)
tree3e3b9a2ff38f09219e6c6ad5e0a76c8753e9c3db /include/linux/hid.h
parent8dcd5afabffe7c7428323b6f083c2ec70129b459 (diff)
HID: refactor mapping to input subsystem for quirky devices
Currently, the handling of mapping between hid and input for devices that don't conform to HUT 1.12 specification is very messy -- no per-device handling, no blacklists, conditions on idVendor and idProduct placed all over the code. This patch moves all the device-specific input mapping to a separate file, and introduces a blacklist-style handling for non-standard device-specific mappings. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r--include/linux/hid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index c67eeb516040..cd5d562b1b7c 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -524,6 +524,7 @@ extern void hidinput_disconnect(struct hid_device *);
524int hid_set_field(struct hid_field *, unsigned, __s32); 524int 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 *);
527void hid_input_field(struct hid_device *hid, struct hid_field *field, __u8 *data, int interrupt); 528void hid_input_field(struct hid_device *hid, struct hid_field *field, __u8 *data, int interrupt);
528void hid_output_report(struct hid_report *report, __u8 *data); 529void hid_output_report(struct hid_report *report, __u8 *data);
529void hid_free_device(struct hid_device *device); 530void hid_free_device(struct hid_device *device);