AnsweredAssumed Answered

android系统能够读到MMA7660的参数,但是屏幕不能够旋转。请问是什么原因?

Question asked by zhang yunfeng on Mar 8, 2015

通过安卓AccelSensor.cpp的int AccelSensor::readEvents(sensors_event_t* data, int count)函数,可以读到MMA7660的参数,但是屏幕不能够旋转。安卓对屏幕旋转已经使能了。

附件是我的HAL代码。

Original Attachment has been moved to: libsensors.rar

Outcomes