You 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.
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.