diff options
| author | Roderick Colenbrander <roderick.colenbrander@sony.com> | 2016-10-07 12:39:39 -0700 |
|---|---|---|
| committer | Siarhei Vishniakou <svv@google.com> | 2019-11-07 11:13:19 -0600 |
| commit | d52c9b0f7b75a950139b82acb2891e07c4e2b774 (patch) | |
| tree | e123bc11555da628819825ab5cdb52ea0964da42 /tools/perf/scripts/python | |
| parent | b671f26953b9cd854ed3a11dd4007f6322109213 (diff) | |
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: I86982a23a443662a88600fe42cbe5ed8ae2686a4
Signed-off-by: Siarhei Vishniakou <svv@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
