Hi I want to know how to distinguish two mouse signal.
-
Hi everybody! I have a question. If there are two mouses(A,B) pluged in a computer, I wonder how to distinguish A from B. plz help me :doh:
-
Hi everybody! I have a question. If there are two mouses(A,B) pluged in a computer, I wonder how to distinguish A from B. plz help me :doh:
Are you able to use two mice at a same time???
Sreedhar DV [Real success is having courage to meet failure without being defeated.]
-
Are you able to use two mice at a same time???
Sreedhar DV [Real success is having courage to meet failure without being defeated.]
To answer your question Sreedhar, yes, case in point laptops which come with a stupid touchpad which remains active when I plugin a respectable USB mouse. To answer Charles, the only way you can do this is to use the Raw Input Model. Handle the WM_INPUT message, process the RAWINPUT structure pointed to by lParam, it contains a RAWINPUTHEADER structure which contains a hDevice that you can pass to GetRawInputDeviceInfo. NOTE: raw input is available only when the application calls RegisterRawInputDevices with valid device specifications.