I'm working on a rover.I'm using it with Raspberry Pi as my microprocessor.And can anyone tell me that whether i need an encoder with it.
You can grab the raw mouse data from /dev/input/mouse0.
Library to access these is evdev. Its accessible it with python, or C/C++.
For more Information see https://stackoverflow.com/questions/5060710/format-of-dev-input-event.