OSDN Git Service

hdaps: add support for ST LIS302DL (Acer 1425P/1825PTZ) android-x86-4.4-r1 android-x86-4.4-r2
authorTanguy Pruvot <tanguy.pruvot@gmail.com>
Sat, 14 Jun 2014 13:06:39 +0000 (15:06 +0200)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 2 Jul 2014 08:14:56 +0000 (16:14 +0800)
commit76cd154fcd4ccde8d211183120668d9480b0bfb2
treed5a86481bc08dc3efd1601e54f53b6a53d89de5f
parentae5ff1725cc4d578d72a8bbc69d2d5f2cc7b4053
hdaps: add support for ST LIS302DL (Acer 1425P/1825PTZ)

Allow also to tune axis signs and to swap axis like X<>Y

setprop hal.sensors.axis.revert "1,-1,1" # to revert Y axis
setprop hal.sensors.axis.order "1,0,2" # for Y,X,Z

This could be required for tablet pc with Accelerometers in Base
and not in Screen part (Acer 1425P has a rotative screen)

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
hdaps.c