Home
last modified time | relevance | path

Searched hist:bdae9e0e95364123fb7d372872bd7efd1760867c (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/hid/
H A Dhid-sony.cdiff bdae9e0e95364123fb7d372872bd7efd1760867c Fri Oct 07 21:39:39 CEST 2016 Roderick Colenbrander <roderick.colenbrander@sony.com> 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>