I was actually beginning work on a similar project. Essentially, it's using a combination of the accelerometer and the gyro to get the phone's position in 3D space. That is, when the accelerometer capture lateral velocity, it knows it's moving in a certain direction at a certain speed (until, of course, it receives an opposite velocity, at which point it stops).
dclowd9901|12 years ago
untog|12 years ago
joezydeco|12 years ago
unwind|12 years ago