summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-logitech-dj.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2012-05-08 16:52:31 +0200
committerJiri Kosina <jkosina@suse.cz>2012-05-09 11:40:51 +0200
commit74b89e8a3625c17c7452532dfb997ac4f1a38751 (patch)
treeba8a0046db4f8e9c15f0212e621452a8dafa659b /drivers/hid/hid-logitech-dj.c
parent692d30d63b80b174d0ed24bbffb7a1ea536d5fee (diff)
HID: wiimote: Fix IR data parser
We incorrectly parse incoming IR data. The extra byte contains the upper bits and not the lower bits of the x/y coordinates. User-space expects absolute position data from us so this patch does not break existing applications. On the contrary, it extends the virtual view and fixes garbage reports for margin areas of the virtual screen. Cc: stable@kernel.org Reported-by: Peter Bukovsky <bukovsky.peter@gmail.com> Signed-off-by: David Herrmann <dh.herrmann@googlemail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-logitech-dj.c')
0 files changed, 0 insertions, 0 deletions