3 ms·
An accelerometer measures acceleration, not movement. You need some kind of optical sensor (even the camera) to make it usable as a mouse.
by keeperofdakeys 12y ago
An accelerometer measures acceleration, not movement. You need some kind of optical sensor (even the camera) to make it usable as a mouse.
- mattegan 12y agoThe integration of acceleration is velocity, integrate again and you have position.
- keeperofdakeys 12y agoYou have that annoying +C though, so you need an initial velocity. While you can just shove 0 in there, it would still not be 100% accurate, and you'd want it to reset when no acceleration is detected for a period of time. So while I'm sure you could make it work convincingly, it still wouldn't work as well as a proper rollerball or optical sensor.