aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorDavid Herrmann <[email protected]>2012-05-08 16:52:31 +0200
committerJiri Kosina <[email protected]>2012-05-09 11:40:51 +0200
commit74b89e8a3625c17c7452532dfb997ac4f1a38751 (patch)
treeba8a0046db4f8e9c15f0212e621452a8dafa659b /lib/mpi/mpi-add.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: [email protected] Reported-by: Peter Bukovsky <[email protected]> Signed-off-by: David Herrmann <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions