4 ms·
I really like this idea. I think you could add in accelerometer support and make the phone function like an actual mouse, physically moving it around the desk l
by Pwntastic 12y ago
I really like this idea. I think you could add in accelerometer support and make the phone function like an actual mouse, physically moving it around the desk like you would a physical mouse.
- keeperofdakeys 12y agoAn 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.