Newbie: Multiple mice

Hi All,

I am a newbie to WDF. I am exploring the possibility of working with
WDF to manage multiple mice connected to one PC. I would like to be
able to control each mouse independently and that each one have their
own pointer icon.

I suppose my question is whether this is possible and am I going down
the right road with WDF? I had envisaged a filter of sorts that
identified messages from each
mouse and was then able to redirect these messages so that one could
control and run two mouse on the same PC.

Thanks in advance, Andy

> Hi All,

I am a newbie to WDF. I am exploring the possibility of working with
WDF to manage multiple mice connected to one PC. I would like to be
able to control each mouse independently and that each one have their
own pointer icon.

I suppose my question is whether this is possible and am I going down
the right road with WDF? I had envisaged a filter of sorts that
identified messages from each
mouse and was then able to redirect these messages so that one could
control and run two mouse on the same PC.

Thanks in advance, Andy

You can already use more than one pointing device on a computer. You
only have the one pointer though, and pretty much every application ever
written for windows is designed with that in mind. How is Windows going
to react if one mouse is clicking the start menu and another is right
clicking on the desktop?

James

> I am a newbie to WDF. I am exploring the possibility of working with

WDF to manage multiple mice connected to one PC. I would like to be
able to control each mouse independently and that each one have their
own pointer icon.

You mean something like Microsoft’s MultiPoint Server?
http://www.microsoft.com/windows/multipoint/

Regards,
Tim.

I think in W7 there is support for multitouch which is effectively doing that and Team Player from WunderWorks allows one to use more than one pointing device. I know there is a lot to work out here but there are examples showing this to work.

For the MP server, I think this allows you to share the box but not screen space. Each user connected has their own desktop.

Thanks, Andy

Multitouch is not implemented as multiple mice. It is one touch device with multiple inputs it can report as a group. I have no idea what the 3rd party product you mention does, but as James said, all of Windows assumes one virtual cursor and one input stream. Look at wm_input which does expose the raw individual streams in user mode before going down the driver route.

d

dent from a phine with no keynoard

-----Original Message-----
From: xxxxx@allbabel.com
Sent: Wednesday, March 02, 2011 6:43 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Newbie: Multiple mice

I think in W7 there is support for multitouch which is effectively doing that and Team Player from WunderWorks allows one to use more than one pointing device. I know there is a lot to work out here but there are examples showing this to work.

For the MP server, I think this allows you to share the box but not screen space. Each user connected has their own desktop.

Thanks, Andy


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

OK, so in RAWMOUSE I will be able to differentiate which mouse the event came from? My idea was to create a filter which would then detect each event and filter which device it came from.

Thanks, Andy

Yes, you can id each stream.

d

dent from a phine with no keynoard

-----Original Message-----
From: xxxxx@allbabel.com
Sent: Wednesday, March 02, 2011 7:59 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Newbie: Multiple mice

OK, so in RAWMOUSE I will be able to differentiate which mouse the event came from? My idea was to create a filter which would then detect each event and filter which device it came from.

Thanks, Andy


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

OK, seems simple.  So this would work at an application level, but is there a way of displaying two mouse pointers on the desktop, and that when one is clicked it is the controlling pointer and the other is simply a pointer?

Thanks, Andy

xxxxx@allbabel.com wrote:

OK, so in RAWMOUSE I will be able to differentiate which mouse the event came from? My idea was to create a filter which would then detect each event and filter which device it came from.

And then what would you do with that information? At the top level, the
operating system has ONE queue for mouse events. The display drivers
know how to handle ONE cursor.

If you want to route the output of each driver to a single application,
you could certainly make that work, but that’s going to be plumbing
entirely of your own invention, and your application will be responsible
for updating the cursor.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.