diff options
author | Frank Praznik <frank.praznik@oh.rr.com> | 2014-09-14 11:56:38 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-09-15 13:34:53 +0200 |
commit | fb291cbd3f9f7bd5873f112a6924b650440779c6 (patch) | |
tree | 7d78d6a6980649b5924b55e5c5f2916af3051253 /lib/mpi/mpi-inline.h | |
parent | 9fddd74a238f03c322b373662803bd1ce80338da (diff) |
HID: sony: Corrections for the DualShock 4 HID descriptor
Fix a few minor issues in the HID descriptor:
- A 6 bit entry had a logical maximum of 255 when the largest it can be is 63.
- A logical max value was incorrectly being set to -1 instead of 255.
- Set the min/max of the gyroscopes to -8192/8191 as that is the range of
values which represent the true controller orientation. Any values beyond
those extents are just noise.
Signed-off-by: Frank Praznik <frank.praznik@oh.rr.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions