]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
HID: sony: Drop invalid Sixaxis input reports
authorFrank Praznik <frank.praznik@oh.rr.com>
Thu, 23 Jul 2015 23:01:16 +0000 (19:01 -0400)
committerJiri Kosina <jkosina@suse.com>
Fri, 24 Jul 2015 12:59:37 +0000 (14:59 +0200)
commit8f5f0bc2766af7785161a4440bca1d0746eb3671
tree0670162ab0c338b8f5a6beb326379c50a8bb36e8
parent2259b5bbaac847f9f322659953966ebb53cfd9bc
HID: sony: Drop invalid Sixaxis input reports

When connected via Bluetooth the sixaxis periodically sends reports with an ID
of 1, the second byte 0xff and the rest zeroed.  These reports are not related
to the controller state and must be dropped to avoid generating false input
events.

Link: http://www.spinics.net/lists/linux-bluetooth/msg63028.html
Signed-off-by: Frank Praznik <frank.praznik@oh.rr.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-sony.c