wang yong 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. So, do you guys have any > suggestions or codes for this task! Really appreciate it! Thanks for > the help.
That's not possible. All HID devices (mice and keyboards) feed into the system's central input process. They will all affect the cursor. Think about it for a moment -- how would you tell the system which mouse device you wanted? Theoretically, you could replace the system's mouse driver with one of your own using something like libusb, but that's a heck of a lot of work. You'd have to understand how USB requests work, and how the USB Human Interface Device Class works. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32