[python-win32] Use python to read data from mouse but not move cursor
niki
niki at vintech.bg
Thu Dec 27 10:29:56 CET 2012
On 26.12.2012 19:48, Tim Roberts wrote:
> 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?
IMHO this should be possible as e.g. "trine 2" game has configuration
for using several (mouse + keyboard)
Niki
More information about the python-win32
mailing list