OSDN Git Service
(root)
/
android-x86
/
device-generic-common.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add ONDA tablet iio.accelerometer tranformation matrix
[android-x86/device-generic-common.git]
/
init.sh
diff --git
a/init.sh
b/init.sh
index
e9bbb98
..
b287ec7
100644
(file)
--- a/
init.sh
+++ b/
init.sh
@@
-229,6
+229,12
@@
function init_hal_sensors()
*i7Stylus*)
set_property hal.sensors.iio.accel.matrix 1,0,0,0,-1,0,0,0,-1
;;
*i7Stylus*)
set_property hal.sensors.iio.accel.matrix 1,0,0,0,-1,0,0,0,-1
;;
+ *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
*)
;;
esac