[Tutor] Use python to read data from mouse but not move cursor
eryksun
eryksun at gmail.com
Tue Dec 25 04:25:14 CET 2012
On Mon, Dec 24, 2012 at 8:39 PM, wang yong <wangyonguci2012 at gmail.com> wrote:
>
> I am new to Python. I am trying to use win32api to read out mouse movement
> from an additional mouse attached to my compputer. But, I do not want this
> mouse to move my cursor.
You could try using PyUSB with libusb-win32. The latter has a GUI
"filter wizard" that I think *might* let you replace the default mouse
driver with a libusb-win32 device driver. This *might* let you use the
mouse exclusively with PyUSB. I'm sorry to have to hedge my statements
here, but I haven't tried this. At least it *might* point you in the
right direction.
http://sourceforge.net/apps/trac/pyusb/
http://sourceforge.net/apps/trac/libusb-win32/
More information about the Tutor
mailing list