Frazew / VirtualSensor

Emulates several sensors on Android devices that do not support them thanks to the Xposed Framework
GNU Lesser General Public License v3.0
101 stars 39 forks source link

Add gyroscope when no magnetic sensor #5

Closed duramato closed 8 years ago

duramato commented 8 years ago

My phone has no or a non working magnetic sensor/compass, but I would still would like to have a fake/virtual gyroscope. Would it be possible to emulate the info only from the accelerometer?

Frazew commented 8 years ago

Unfortunately this is impossible. Not that it is too complicated or that I don't want to do it, it is actually impossible.

The accelerometer only allows for detection of wether you're moving the phone up or down and/or tilting but the rotation as we generally understand it (ie moving the head left/right) is only possible thanks to the compass too.

Mark42XLII commented 7 years ago

But could you make it just so it looks up/down? I planned in putting an external compass to work...