From: Chih-Wei Huang Date: Fri, 3 Jun 2016 04:25:41 +0000 (+0800) Subject: init.sh: fix the Cube i7 Stylus tablet sensor orientation X-Git-Tag: android-x86-6.0-r1~25 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fdevice-generic-common.git;a=commitdiff_plain;h=610e31f8a344504f9a6a4cc4e05f94c76b91e2da;ds=sidebyside init.sh: fix the Cube i7 Stylus tablet sensor orientation --- diff --git a/init.sh b/init.sh index 20161d6..9ed35ab 100644 --- a/init.sh +++ b/init.sh @@ -218,6 +218,9 @@ function init_hal_sensors() modprobe hdaps hal_sensors=hdaps ;; + *i7Stylus*) + set_property hal.sensors.iio.accel.matrix 1,0,0,0,-1,0,0,0,-1 + ;; *) ;; esac