summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorRoderick Colenbrander <roderick.colenbrander@sony.com>2016-10-07 12:39:39 -0700
committerJiri Kosina <jkosina@suse.cz>2016-10-10 10:43:26 +0200
commitbdae9e0e95364123fb7d372872bd7efd1760867c (patch)
treebae57910aefda7f51876879389ff2127297d4163 /kernel
parentcdc1c0215ab449077cd160dde4fcd1c5f41dec6e (diff)
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions