]> git.baikalelectronics.ru Git - 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)
commit276c0ce89b97c54da9f8c52f42740d45f5775298
tree231014366037d2617f6628c4e1d335436d559782
parent5b2a0540f1c0b8bd9cc7d960fa7b1f9c062bbf38
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