]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
HID: sony: PS Move fix report descriptor
authorSimon Wood <simon@mungewell.org>
Wed, 10 Jun 2015 03:27:07 +0000 (21:27 -0600)
committerJiri Kosina <jkosina@suse.cz>
Fri, 12 Jun 2015 09:37:42 +0000 (11:37 +0200)
commit8b2513c313612541085a19551139e68ccab13b3f
tree231014366037d2617f6628c4e1d335436d559782
parent41d2d42534e79561930aa831870352a80cd2e72c
HID: sony: PS Move fix report descriptor

Fix the report descriptor so that the buttons and trigger are correctly reported.

The format of the input report is described here:
https://github.com/nitsch/moveonpc/wiki/Input-report

The Accelerometers and Gyros (1st frame only) are also reported as axis, but
the Magnetometers are NOT as 'fixing' their byte order would break user-space
drivers such as PSMoveAPI.

It is hoped to resolve this at a future time.

Signed-off-by: Simon Wood <simon@mungewell.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c