UPSTREAM: HID: sony: Adjust value range for motion sensors
The motion sensor values are 16-bit, so make the value range match. It is hard to reach the upper values, but they can be reached. At least the current accelerometer value of 8192 is very easy to pass. It is still not nice that the motion sensors live in no man's land in between ABS_MISC and ABS_MT_SLOT, but that's something for another time, which the proposed ABS_ACCEL_*/ABS_GYRO_* were meant for. Signed-off-by:Roderick Colenbrander <roderick.colenbrander@sony.com> Reviewed-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz> (cherry picked from commit bdae9e0e95364123fb7d372872bd7efd1760867c) Bug: 111431828 Signed-off-by:
Kim Low <kim-huei.low@sony.com> Change-Id: Ib1b1075f014a5662b36830f27fe1a9d478b1a015
Loading
Please register or sign in to comment