OSDN Git Service

add ONDA tablet iio.accelerometer tranformation matrix
[android-x86/device-generic-common.git] / init.sh
diff --git a/init.sh b/init.sh
index 58aa432..b287ec7 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -232,6 +232,9 @@ function init_hal_sensors()
                *ST70416-6*)
                        set_property hal.sensors.iio.accel.matrix 0,-1,0,-1,0,0,0,0,-1
                        ;;
+               *ONDATablet*)
+                       set_property hal.sensors.iio.accel.matrix 0,1,0,1,0,0,0,0,-1
+                       ;;
                *)
                        ;;
        esac