]> err.no Git - linux-2.6/commit
HID: refactor mapping to input subsystem for quirky devices
authorJiri Kosina <jkosina@suse.cz>
Thu, 22 Nov 2007 14:18:18 +0000 (15:18 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 28 Jan 2008 13:51:20 +0000 (14:51 +0100)
commit10bd065facb2594bd508597ef464d401b212f379
tree3e3b9a2ff38f09219e6c6ad5e0a76c8753e9c3db
parent8dcd5afabffe7c7428323b6f083c2ec70129b459
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>
drivers/hid/Makefile
drivers/hid/hid-input-quirks.c [new file with mode: 0644]
drivers/hid/hid-input.c
include/linux/hid.h