From: David Herrmann Date: Sun, 10 Jun 2012 13:16:19 +0000 (+0200) Subject: HID: uhid: allow feeding input data into uhid devices X-Git-Tag: v3.6-rc1~119^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e87a36ae375297b71cc21ac7e32846832bcfb34;p=pandora-kernel.git HID: uhid: allow feeding input data into uhid devices This adds a new event type UHID_INPUT which allows user-space to feed raw HID reports into the HID subsystem. We copy the data into kernel memory and directly feed it into the HID core. There is no error handling of the events couldn't be parsed so user-space should consider all events successfull unless read() returns an error. Signed-off-by: David Herrmann Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed