there is an alternative driver available here:
However, this still uses a daemon process. However, you can have a look at its implementation, which is based on HID.
I have adapted an own driver code, which directly accesses the HID API. The svn repo is here: https://svn.techfak.uni-bielefeld.de/citec/projects/3Dmouse/trunk
It has also a simple command-line demo included.