About the Virtual Mouse without the Physical Mouse Attached

Hi All,

I want to develop a mouse driver that will act as a mouse without physical mouse device attached. Let me tell little more detailed.

I have TWO same applications in Two PC’s.? This application is used for sharing the user interaction. This application provides some information that will be shared from different user located into different PC in LAN. So each user can see each user’s mouse movement, click, drag operation etc.
So I need to create the multiple mouse in each user’s PC virtually as the physical mouse is not attached (Even though only one mouse action will be served at a time). For example, if USER1 do the drag operation, USER 2 can see in his PC, but USER2 can not do the drag operation at the same time.

So my question is , can I make such mouse driver that will work without attaching the physical mouse. I have searched for few days, and most of them allow it, but with physical mouse attached in the PC.

Could someone please give me some hints or link or even the source code if already available ?

Thank you for reading this post.

James

You can have a look at this

http://www.inputdirector.com

i have not used this s/w but description matches your requirement.

On Mon, May 24, 2010 at 10:49 AM, James Rassel wrote:

> Hi All,
>
> I want to develop a mouse driver that will act as a mouse without physical
> mouse device attached. Let me tell little more detailed.
>
> I have TWO same applications in Two PC’s. This application is used for
> sharing the user interaction. This application provides some information
> that will be shared from different user located into different PC in LAN. So
> each user can see each user’s mouse movement, click, drag operation etc.
> So I need to create the multiple mouse in each user’s PC virtually as the
> physical mouse is not attached (Even though only one mouse action will be
> served at a time). For example, if USER1 do the drag operation, USER 2 can
> see in his PC, but USER2 can not do the drag operation at the same time.
>
> So my question is , can I make such mouse driver that will work without
> attaching the physical mouse. I have searched for few days, and most of them
> allow it, but with physical mouse attached in the PC.
>
> Could someone please give me some hints or link or even the source code if
> already available ?
>
> Thank you for reading this post.
>
> James
>
> — 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

Easily done. Write HID miniport that is root enumerated. The hid miniport driver will report a mouse collection which you can then use to inject input. See the src\hid\hidusbfx2 sample in the win7.1 wdk (even though it is usb enumerated, you can easily change the bottome edge of the driver to talk to the app or over the network). Remember that no matter how many mice are reported on the system, there is only one cursor and input stream, so if you think you can make 2 show up, that can?t happen. All mice are merged into one virtual mouse

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of James Rassel
Sent: Sunday, May 23, 2010 10:20 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] About the Virtual Mouse without the Physical Mouse Attached

Hi All,

I want to develop a mouse driver that will act as a mouse without physical mouse device attached. Let me tell little more detailed.

I have TWO same applications in Two PC’s. This application is used for sharing the user interaction. This application provides some information that will be shared from different user located into different PC in LAN. So each user can see each user’s mouse movement, click, drag operation etc.
So I need to create the multiple mouse in each user’s PC virtually as the physical mouse is not attached (Even though only one mouse action will be served at a time). For example, if USER1 do the drag operation, USER 2 can see in his PC, but USER2 can not do the drag operation at the same time.

So my question is , can I make such mouse driver that will work without attaching the physical mouse. I have searched for few days, and most of them allow it, but with physical mouse attached in the PC.

Could someone please give me some hints or link or even the source code if already available ?

Thank you for reading this post.

James

— 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

Dear Dennis Scott,

Thank you for the quick link.
I just checked the link. According to my understanding they handle using the single mouse. But in my case, I need to show the mouse icon for all the users.

If 5 users use the application, 5 mouse icons will be displayed and act as the mouse in each user’s PC. Hope this will help you for clear understanding my problem.

James

— On Mon, 5/24/10, Dennis Scott wrote:

From: Dennis Scott
Subject: Re: [ntdev] About the Virtual Mouse without the Physical Mouse Attached
To: “Windows System Software Devs Interest List”
Date: Monday, May 24, 2010, 10:56 AM

You can have a look at this

http://www.inputdirector.com

i have not used this s/w but description matches your requirement.

On Mon, May 24, 2010 at 10:49 AM, James Rassel wrote:

Hi All,

I want to develop a mouse driver that will act as a mouse without physical mouse device attached. Let me tell little more detailed.

I have TWO same applications in Two PC’s.? This application is used for sharing the user interaction. This application provides some information that will be shared from different user located into different PC in LAN. So each user can see each user’s mouse movement, click, drag operation etc.

So I need to create the multiple mouse in each user’s PC virtually as the physical mouse is not attached (Even though only one mouse action will be served at a time). For example, if USER1 do the drag operation, USER 2 can see in his PC, but USER2 can not do the drag operation at the same time.

So my question is , can I make such mouse driver that will work without attaching the physical mouse. I have
searched for few days, and most of them allow it, but with physical mouse attached in the PC.

Could someone please give me some hints or link or even the source code if already available ?

Thank you for reading this post.

James


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

#yiv1251406 #avg_ls_inline_popup {padding:0px 0px;margin-left:0px;margin-top:0px;width:240px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:13px;}


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

The entire input subsytem, windowing subsystem, and graphics stack assume one mouse cursor/virtualized mouse. Displaying multiple cursors and having each interact on the same desktop and set of windows is very very hard, if not impossible (and at the very least, many man years of effort)

d

sent from a phpne with no keynoard


From: James Rassel
Sent: May 23, 2010 11:34 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] About the Virtual Mouse without the Physical Mouse Attached

Dear Dennis Scott,

Thank you for the quick link.
I just checked the link. According to my understanding they handle using the single mouse. But in my case, I need to show the mouse icon for all the users.

If 5 users use the application, 5 mouse icons will be displayed and act as the mouse in each user’s PC. Hope this will help you for clear understanding my problem.

James

— On Mon, 5/24/10, Dennis Scott wrote:

From: Dennis Scott
Subject: Re: [ntdev] About the Virtual Mouse without the Physical Mouse Attached
To: “Windows System Software Devs Interest List”
Date: Monday, May 24, 2010, 10:56 AM

You can have a look at this

http://www.inputdirector.com

i have not used this s/w but description matches your requirement.

On Mon, May 24, 2010 at 10:49 AM, James Rassel > wrote:
Hi All,

I want to develop a mouse driver that will act as a mouse without physical mouse device attached. Let me tell little more detailed.

I have TWO same applications in Two PC’s. This application is used for sharing the user interaction. This application provides some information that will be shared from different user located into different PC in LAN. So each user can see each user’s mouse movement, click, drag operation etc.
So I need to create the multiple mouse in each user’s PC virtually as the physical mouse is not attached (Even though only one mouse action will be served at a time). For example, if USER1 do the drag operation, USER 2 can see in his PC, but USER2 can not do the drag operation at the same time.

So my question is , can I make such mouse driver that will work without attaching the physical mouse. I have searched for few days, and most of them allow it, but with physical mouse attached in the PC.

Could someone please give me some hints or link or even the source code if already available ?

Thank you for reading this post.

James

— 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

— 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

— 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

James,
Can you explain what exactly you are trying, i thing I am understanding it
differently, You want to display multiple mouse pointers in a single
desktop and control all pointers? Or you wanted to control N computers with
a single mouse?

On Mon, May 24, 2010 at 12:52 PM, Doron Holan wrote:

> The entire input subsytem, windowing subsystem, and graphics stack assume
> one mouse cursor/virtualized mouse. Displaying multiple cursors and having
> each interact on the same desktop and set of windows is very very hard, if
> not impossible (and at the very least, many man years of effort)
>
> d
>
> sent from a phpne with no keynoard
>
> ------------------------------
> From: James Rassel
> Sent: May 23, 2010 11:34 PM
>
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] About the Virtual Mouse without the Physical Mouse
> Attached
>
> Dear Dennis Scott,
>
> Thank you for the quick link.
> I just checked the link. According to my understanding they handle using
> the single mouse. But in my case, I need to show the mouse icon for all the
> users.
>
> If 5 users use the application, 5 mouse icons will be displayed and act as
> the mouse in each user’s PC. Hope this will help you for clear understanding
> my problem.
>
> James
>
>
>
>
> — On Mon, 5/24/10, Dennis Scott wrote:
>
>
> From: Dennis Scott
> Subject: Re: [ntdev] About the Virtual Mouse without the Physical Mouse
> Attached
> To: “Windows System Software Devs Interest List”
> Date: Monday, May 24, 2010, 10:56 AM
>
> You can have a look at this
>
> http://www.inputdirector.com
>
> i have not used this s/w but description matches your requirement.
>
> On Mon, May 24, 2010 at 10:49 AM, James Rassel
> > wrote:
>
>> Hi All,
>>
>> I want to develop a mouse driver that will act as a mouse without physical
>> mouse device attached. Let me tell little more detailed.
>>
>> I have TWO same applications in Two PC’s. This application is used for
>> sharing the user interaction. This application provides some information
>> that will be shared from different user located into different PC in LAN. So
>> each user can see each user’s mouse movement, click, drag operation etc.
>> So I need to create the multiple mouse in each user’s PC virtually as the
>> physical mouse is not attached (Even though only one mouse action will be
>> served at a time). For example, if USER1 do the drag operation, USER 2 can
>> see in his PC, but USER2 can not do the drag operation at the same time.
>>
>> So my question is , can I make such mouse driver that will work without
>> attaching the physical mouse. I have searched for few days, and most of them
>> allow it, but with physical mouse attached in the PC.
>>
>> Could someone please give me some hints or link or even the source code if
>> already available ?
>>
>> Thank you for reading this post.
>>
>> James
>>
>> — 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
>
>
> — 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
>
>
> — 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
>
> —
> 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
>

Dear Dennis Scott,

You want to display multiple mouse pointers in a? single desktop and
control all pointers?

> Ideally , YES.

Say for example, USER 1 ~ USER 5 is using the same application. This application provides some shared information, which can be viewed by all the users (Here USER 1 ~ USER5). They can even control the shared information, for example, drag and drop some diagram, and all the user can see that someone is doing the drag and drop operation.

USER 1 ~ USER5 are in different PC over the LAN and they have their OWN physical mouse.

Now, for a particular user (Say USER1) will show the mouse icon of all other users.
If other user do the drag and drop operation, USER 1 can move his own mouse pointer (Even though USER1 can not do the Drag & Drop Operation)

I hope , you get the point now.

James

Or you wanted to control N computers with a single mouse?

> NO

— On Mon, 5/24/10, Dennis Scott wrote:

From: Dennis Scott
Subject: Re: [ntdev] About the Virtual Mouse without the Physical Mouse Attached
To: “Windows System Software Devs Interest List”
Date: Monday, May 24, 2010, 1:02 PM

James,
Can you explain what exactly you are trying, i thing I am understanding it differently, You want to display multiple mouse pointers in a? single desktop and control all pointers? Or you wanted to control N computers with a single mouse?

On Mon, May 24, 2010 at 12:52 PM, Doron Holan wrote:

The entire input subsytem, windowing subsystem, and graphics stack assume one mouse cursor/virtualized mouse. Displaying multiple cursors and having each interact on the same desktop and set
of windows is very very hard, if not impossible (and at the very least, many man years of effort)

d

sent from a phpne with no keynoard

From: James Rassel

Sent: May 23, 2010 11:34 PM

To: Windows System Software Devs Interest List

Subject:
Re: [ntdev] About the Virtual Mouse without the Physical Mouse Attached

Dear Dennis Scott,

Thank you for the quick link.

I just checked the link. According to my understanding they handle using the single mouse. But in my case, I need to show the mouse icon for all the users.

If 5 users use the application, 5 mouse icons will be displayed and act as the mouse in each user’s PC. Hope this will help you for clear understanding my problem.

James

— On Mon, 5/24/10, Dennis Scott wrote:

From: Dennis Scott

Subject: Re: [ntdev] About the Virtual Mouse without the Physical Mouse Attached

To: “Windows System Software Devs Interest List”

Date: Monday, May 24, 2010, 10:56 AM

You can have a look at this

http://www.inputdirector.com

i have not used this s/w but description matches your requirement.

On Mon, May 24, 2010 at 10:49 AM, James Rassel
wrote:

Hi All,

I want to develop a mouse driver that will act as a mouse without physical mouse device attached. Let me tell little more detailed.

I have TWO same applications in Two PC’s.? This application is used for sharing the user interaction. This application provides some information that will be shared from different user located into different PC in LAN. So each user can see each user’s mouse
movement, click, drag operation etc.

So I need to create the multiple mouse in each user’s PC virtually as the physical mouse is not attached (Even though only one mouse action will be served at a time). For example, if USER1 do the drag operation, USER 2 can see in his PC, but USER2 can not do
the drag operation at the same time.

So my question is , can I make such mouse driver that will work without attaching the physical mouse. I have searched for few days, and most of them allow it, but with physical mouse attached in the PC.

Could someone please give me some hints or link or even the source code if already available ?

Thank you for reading this post.

James

— 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

— 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

— 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



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

#yiv1360783567 #avg_ls_inline_popup {padding:0px 0px;margin-left:0px;margin-top:0px;width:240px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:13px;}


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

Dear Holan,

if not impossible (and at the very least, many man years of effort)

> I am really worried to hear this.
Have I able to explain my problem correctly to you ?

James.

— On Mon, 5/24/10, Doron Holan wrote:

From: Doron Holan
Subject: RE: [ntdev] About the Virtual Mouse without the Physical Mouse Attached
To: “Windows System Software Devs Interest List”
Date: Monday, May 24, 2010, 12:52 PM

The entire input subsytem, windowing subsystem, and graphics stack assume one mouse cursor/virtualized mouse. Displaying multiple cursors and having each interact on the same desktop and set
of windows is very very hard, if not impossible (and at the very least, many man years of effort)

d

sent from a phpne with no keynoard

From: James Rassel

Sent: May 23, 2010 11:34 PM

To: Windows System Software Devs Interest List

Subject:
Re: [ntdev] About the Virtual Mouse without the Physical Mouse Attached

Dear Dennis Scott,

Thank you for the quick link.

I just checked the link. According to my understanding they handle using the single mouse. But in my case, I need to show the mouse icon for all the users.

If 5 users use the application, 5 mouse icons will be displayed and act as the mouse in each user’s PC. Hope this will help you for clear understanding my problem.

James

— On Mon, 5/24/10, Dennis Scott wrote:

From: Dennis Scott

Subject: Re: [ntdev] About the Virtual Mouse without the Physical Mouse Attached

To: “Windows System Software Devs Interest List”

Date: Monday, May 24, 2010, 10:56 AM

You can have a look at this

http://www.inputdirector.com

i have not used this s/w but description matches your requirement.

On Mon, May 24, 2010 at 10:49 AM, James Rassel
wrote:

Hi All,

I want to develop a mouse driver that will act as a mouse without physical mouse device attached. Let me tell little more detailed.

I have TWO same applications in Two PC’s.? This application is used for sharing the user interaction. This application provides some information that will be shared from different user located into different PC in LAN. So each user can see each user’s mouse
movement, click, drag operation etc.

So I need to create the multiple mouse in each user’s PC virtually as the physical mouse is not attached (Even though only one mouse action will be served at a time). For example, if USER1 do the drag operation, USER 2 can see in his PC, but USER2 can not do
the drag operation at the same time.

So my question is , can I make such mouse driver that will work without attaching the physical mouse. I have searched for few days, and most of them allow it, but with physical mouse attached in the PC.

Could someone please give me some hints or link or even the source code if already available ?

Thank you for reading this post.

James

— 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

— 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

— 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



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

Hi James,

IF this is the thing you are trying to do, then i will stand with Doron,
This is quit impossible to achieve.

On Mon, May 24, 2010 at 1:23 PM, James Rassel wrote:

> Dear Holan,
>
>
> if not impossible (and at the very least, many man years of effort)
> >> I am really worried to hear this.
> Have I able to explain my problem correctly to you ?
>
> James.
>
>
> — On Mon, 5/24/10, Doron Holan wrote:
>
>
> From: Doron Holan
> Subject: RE: [ntdev] About the Virtual Mouse without the Physical Mouse
> Attached
>
> To: “Windows System Software Devs Interest List”
> Date: Monday, May 24, 2010, 12:52 PM
>
>
> The entire input subsytem, windowing subsystem, and graphics stack assume
> one mouse cursor/virtualized mouse. Displaying multiple cursors and having
> each interact on the same desktop and set of windows is very very hard, if
> not impossible (and at the very least, many man years of effort)
>
> d
>
> sent from a phpne with no keynoard
>
> ------------------------------
> From: James Rassel
> Sent: May 23, 2010 11:34 PM
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] About the Virtual Mouse without the Physical Mouse
> Attached
>
> Dear Dennis Scott,
>
> Thank you for the quick link.
> I just checked the link. According to my understanding they handle using
> the single mouse. But in my case, I need to show the mouse icon for all the
> users.
>
> If 5 users use the application, 5 mouse icons will be displayed and act as
> the mouse in each user’s PC. Hope this will help you for clear understanding
> my problem.
>
> James
>
>
>
>
> — On Mon, 5/24/10, Dennis Scott wrote:
>
>
> From: Dennis Scott
> Subject: Re: [ntdev] About the Virtual Mouse without the Physical Mouse
> Attached
> To: “Windows System Software Devs Interest List”
> Date: Monday, May 24, 2010, 10:56 AM
>
> You can have a look at this
>
> http://www.inputdirector.com
>
> i have not used this s/w but description matches your requirement.
>
> On Mon, May 24, 2010 at 10:49 AM, James Rassel wrote:
>
>> Hi All,
>>
>> I want to develop a mouse driver that will act as a mouse without physical
>> mouse device attached. Let me tell little more detailed.
>>
>> I have TWO same applications in Two PC’s. This application is used for
>> sharing the user interaction. This application provides some information
>> that will be shared from different user located into different PC in LAN. So
>> each user can see each user’s mouse movement, click, drag operation etc.
>> So I need to create the multiple mouse in each user’s PC virtually as the
>> physical mouse is not attached (Even though only one mouse action will be
>> served at a time). For example, if USER1 do the drag operation, USER 2 can
>> see in his PC, but USER2 can not do the drag operation at the same time.
>>
>> So my question is , can I make such mouse driver that will work without
>> attaching the physical mouse. I have searched for few days, and most of them
>> allow it, but with physical mouse attached in the PC.
>>
>> Could someone please give me some hints or link or even the source code if
>> already available ?
>>
>> Thank you for reading this post.
>>
>> James
>>
>> — 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
>
>
> — 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
>
>
> — 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
>
> —
> 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
>
>
> — 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
>

I think using Windows MultiPoint Mouse SDK you can do this. I have not used it personally but looks like it will do this.

Check out http://www.microsoft.com/multipoint/mouse-sdk/

Bala

Also

http://cpnmouse.sourceforge.net/

Dear Dennis Scott,

OK, I understand.
But I am really bit surprised, If it is possible to control multiple mouse (Physical Mouse)
in a single PC then why it is not possible without Physical Mouse. The concept is very similar but the only different is, physical attachment of the device.

I understand that, controlling the multiple mouse independently is difficult (or impossible in the current context) , But what , if I do a single action ? For example, Mouse2 is doing drag-drop operation, at that time, drag-drop operation is not possible using Mouse1, But Mouse1 can move his cursor only.?

Will I be hopeless to achieve this too ?

James.

— On Mon, 5/24/10, Dennis Scott wrote:

From: Dennis Scott
Subject: Re: [ntdev] About the Virtual Mouse without the Physical Mouse Attached
To: “Windows System Software Devs Interest List”
Date: Monday, May 24, 2010, 1:59 PM

Hi James,

IF this is the thing you are trying to do, then i will
stand with Doron, This is quit impossible to achieve.

On Mon, May 24, 2010 at 1:23 PM, James Rassel wrote:

Dear Holan,

if not impossible (and at the very least, many man years of effort)
>> I am really worried to hear this.
Have I able to explain my problem correctly to you ?

James.

— On Mon, 5/24/10, Doron Holan wrote:

From: Doron Holan

Subject: RE: [ntdev] About the Virtual Mouse without the Physical Mouse Attached

To: “Windows System Software Devs Interest List”
Date: Monday, May 24, 2010, 12:52 PM

The entire input subsytem, windowing subsystem, and graphics stack assume one mouse cursor/virtualized mouse. Displaying multiple cursors and having each interact on the same desktop and set
of windows is very very hard, if not impossible (and at the very least, many man years of effort)

d

sent from a phpne with no keynoard

From: James Rassel

Sent: May 23, 2010 11:34 PM

To: Windows System Software Devs Interest List

Subject:
Re: [ntdev] About the Virtual Mouse without the Physical Mouse Attached

Dear Dennis Scott,

Thank you for the quick link.

I just checked the link. According to my understanding they handle using the single mouse. But in my case, I need to show the mouse icon for all the users.

If 5 users use the application, 5 mouse icons will be displayed and act as the mouse in each user’s PC. Hope this will help you for clear understanding my problem.

James

— On Mon, 5/24/10, Dennis Scott wrote:

From: Dennis Scott

Subject: Re: [ntdev] About the Virtual Mouse without the Physical Mouse Attached

To: “Windows System Software Devs Interest List”

Date: Monday, May 24, 2010, 10:56 AM

You can have a look at this

http://www.inputdirector.com

i have not used this s/w but description matches your requirement.

On Mon, May 24, 2010 at 10:49 AM, James Rassel
wrote:

Hi All,

I want to develop a mouse driver that will act as a mouse without physical mouse device attached. Let me tell little more detailed.

I have TWO same applications in Two PC’s.? This application is used for sharing the user interaction. This application provides some information that will be shared from different user located into different PC in LAN. So each user can see each user’s mouse
movement, click, drag operation etc.

So I need to create the multiple mouse in each user’s PC virtually as the physical mouse is not attached (Even though only one mouse action will be served at a time). For example, if USER1 do the drag operation, USER 2 can see in his PC, but USER2 can not do
the drag operation at the same time.

So my question is , can I make such mouse driver that will work without attaching the physical mouse. I have searched for few days, and most of them allow it, but with physical mouse attached in the PC.

Could someone please give me some hints or link or even the source code if already available ?

Thank you for reading this post.

James

— 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

— 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

— 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



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


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

#yiv1469642362 #avg_ls_inline_popup {padding:0px 0px;margin-left:0px;margin-top:0px;width:240px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:13px;}


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

Dear Bala,

Thank you for giving two links.
I checked both of them.

I think it needs Physical Mouse attached with the PC.?
But for your reminder, In my case, I have no Physical Mouse
attached with the PC.

James

— On Mon, 5/24/10, xxxxx@gmail.com wrote:

From: xxxxx@gmail.com
Subject: RE:[ntdev] About the Virtual Mouse without the Physical Mouse Attached
To: “Windows System Software Devs Interest List”
Date: Monday, May 24, 2010, 6:41 PM

Also

http://cpnmouse.sourceforge.net/


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

James Rassel wrote:

But I am really bit surprised, If it is possible to control multiple
mouse (Physical Mouse)
in a single PC then why it is not possible without Physical Mouse. The
concept is very similar but the only different is, physical attachment
of the device.

It IS possible to have multiple mice. I have a trackpad and a USB mouse
on my laptop, for example. However, they all control ONE cursor.

I understand that, controlling the multiple mouse independently is
difficult (or impossible in the current context) , But what , if I do
a single action ? For example, Mouse2 is doing drag-drop operation, at
that time, drag-drop operation is not possible using Mouse1, But
Mouse1 can move his cursor only.

Will I be hopeless to achieve this too ?

Yes. Take a moment to think about this. The concept of “drag and drop”
doesn’t mean anything at the mouse driver level. There’s just button
down, button up, and motion. But at the operating system level, the
parts that handle drag and drop don’t have any notion of which mouse
triggered an event. Some driver sends up a mouse down event and some
motion events. The GUI system sees that and starts a drag and drop
operation. The two things are not connected.


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

Dear Team Roberts,

I understand your points, thank you.

But my understanding is, If I attached two physical mouse , it is possible to do the drag-drop operation (Just conceptually for now) using one mouse and Cursor movement using another mouse at the same time. Atleast I can say this after use the “TeamPlayer” Software (http://www.wunderworks.com/).

Now, I assume the following two possibilities

  1. If I push the same mouse action data to the driver through the Serial Port (Real or Virtual Port), problematically

  2. I write the drive in such a way, it can read the mouse action from a file. So I write the similar mouse action data into the file.

So how much these concept differ, comparing with physically attached mouse.

James

— On Tue, 5/25/10, Tim Roberts wrote:

From: Tim Roberts
Subject: Re: [ntdev] About the Virtual Mouse without the Physical Mouse Attached
To: “Windows System Software Devs Interest List”
Date: Tuesday, May 25, 2010, 6:21 AM

James Rassel wrote:
>
> But I am really bit surprised, If it is possible to control multiple
> mouse (Physical Mouse)
> in a single PC then why it is not possible without Physical Mouse. The
> concept is very similar but the only different is, physical attachment
> of the device.
>

It IS possible to have multiple mice.? I have a trackpad and a USB mouse
on my laptop, for example.? However, they all control ONE cursor.

> I understand that, controlling the multiple mouse independently is
> difficult (or impossible in the current context) , But what , if I do
> a single action ? For example, Mouse2 is doing drag-drop operation, at
> that time, drag-drop operation is not possible using Mouse1, But
> Mouse1 can move his cursor only.
>
> Will I be hopeless to achieve this too ?
>

Yes.? Take a moment to think about this.? The concept of “drag and drop”
doesn’t mean anything at the mouse driver level.? There’s just button
down, button up, and motion.? But at the operating system level, the
parts that handle drag and drop don’t have any notion of which mouse
triggered an event.? Some driver sends up a mouse down event and some
motion events.? The GUI system sees that and starts a drag and drop
operation. The two things are not connected.


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


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

Dear James,

Both mouse or keyboard can work either in “grandmaster” or “one-to-one”
mode,

http://msdn.microsoft.com/en-us/library/ff538360.aspx

So if you create your virtual mice with independent enumerator string as an
indicators and an mouse Class filter to handle these independent mouse then
their might be a possible way. *You will get only raw mouse input.*

For example you can look at kbdclass and mouclass.

If this method is wrong some experts may shed some light on this.

On Tue, May 25, 2010 at 6:54 AM, James Rassel wrote:

> Dear Team Roberts,
>
> I understand your points, thank you.
>
> But my understanding is, If I attached two physical mouse , it is possible
> to do the drag-drop operation (Just conceptually for now) using one mouse
> and Cursor movement using another mouse at the same time. Atleast I can say
> this after use the “TeamPlayer” Software (http://www.wunderworks.com/).
>
> Now, I assume the following two possibilities
>
> 1) If I push the same mouse action data to the driver through the Serial
> Port (Real or Virtual Port), problematically
>
> 2) I write the drive in such a way, it can read the mouse action from a
> file. So I write the similar mouse action data into the file.
>
> So how much these concept differ, comparing with physically attached mouse.
>
> James
>
> — On Tue, 5/25/10, Tim Roberts wrote:
>
>
> From: Tim Roberts
> Subject: Re: [ntdev] About the Virtual Mouse without the Physical Mouse
> Attached
>
> To: “Windows System Software Devs Interest List”
> Date: Tuesday, May 25, 2010, 6:21 AM
>
>
> James Rassel wrote:
> >
> > But I am really bit surprised, If it is possible to control multiple
> > mouse (Physical Mouse)
> > in a single PC then why it is not possible without Physical Mouse. The
> > concept is very similar but the only different is, physical attachment
> > of the device.
> >
>
> It IS possible to have multiple mice. I have a trackpad and a USB mouse
> on my laptop, for example. However, they all control ONE cursor.
>
>
> > I understand that, controlling the multiple mouse independently is
> > difficult (or impossible in the current context) , But what , if I do
> > a single action ? For example, Mouse2 is doing drag-drop operation, at
> > that time, drag-drop operation is not possible using Mouse1, But
> > Mouse1 can move his cursor only.
> >
> > Will I be hopeless to achieve this too ?
> >
>
> Yes. Take a moment to think about this. The concept of “drag and drop”
> doesn’t mean anything at the mouse driver level. There’s just button
> down, button up, and motion. But at the operating system level, the
> parts that handle drag and drop don’t have any notion of which mouse
> triggered an event. Some driver sends up a mouse down event and some
> motion events. The GUI system sees that and starts a drag and drop
> operation. The two things are not connected.
>
> –
> Tim Roberts, xxxxx@probo.com http:
> Providenza & Boekelheide, Inc.
>
>
> —
> 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
>
>
> — 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</http:>

Grand master mode is deprecated and unsupported since Vista. Just create a root enumerated hid stack. Your hid miniport can talk to a user mode app which can feed the miniport mouse or other input data. The app can get the data it objects locally or over the network. No need for a virtual serial port and emulating a serial mouse, that is insanity for what you want.

d

sent from a phpne with no keynoard


From: Dennis Scott
Sent: May 24, 2010 10:17 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] About the Virtual Mouse without the Physical Mouse Attached

Dear James,

Both mouse or keyboard can work either in “grandmaster” or “one-to-one” mode,

http://msdn.microsoft.com/en-us/library/ff538360.aspx

So if you create your virtual mice with independent enumerator string as an indicators and an mouse Class filter to handle these independent mouse then their might be a possible way. You will get only raw mouse input.

For example you can look at kbdclass and mouclass.

If this method is wrong some experts may shed some light on this.

On Tue, May 25, 2010 at 6:54 AM, James Rassel > wrote:
Dear Team Roberts,

I understand your points, thank you.

But my understanding is, If I attached two physical mouse , it is possible to do the drag-drop operation (Just conceptually for now) using one mouse and Cursor movement using another mouse at the same time. Atleast I can say this after use the “TeamPlayer” Software (http://www.wunderworks.com/).

Now, I assume the following two possibilities

1) If I push the same mouse action data to the driver through the Serial Port (Real or Virtual Port), problematically

2) I write the drive in such a way, it can read the mouse action from a file. So I write the similar mouse action data into the file.

So how much these concept differ, comparing with physically attached mouse.

James

— On Tue, 5/25/10, Tim Roberts > wrote:

From: Tim Roberts >
Subject: Re: [ntdev] About the Virtual Mouse without the Physical Mouse Attached

To: “Windows System Software Devs Interest List” >
Date: Tuesday, May 25, 2010, 6:21 AM

James Rassel wrote:
>
> But I am really bit surprised, If it is possible to control multiple
> mouse (Physical Mouse)
> in a single PC then why it is not possible without Physical Mouse. The
> concept is very similar but the only different is, physical attachment
> of the device.
>

It IS possible to have multiple mice. I have a trackpad and a USB mouse
on my laptop, for example. However, they all control ONE cursor.

> I understand that, controlling the multiple mouse independently is
> difficult (or impossible in the current context) , But what , if I do
> a single action ? For example, Mouse2 is doing drag-drop operation, at
> that time, drag-drop operation is not possible using Mouse1, But
> Mouse1 can move his cursor only.
>
> Will I be hopeless to achieve this too ?
>

Yes. Take a moment to think about this. The concept of “drag and drop”
doesn’t mean anything at the mouse driver level. There’s just button
down, button up, and motion. But at the operating system level, the
parts that handle drag and drop don’t have any notion of which mouse
triggered an event. Some driver sends up a mouse down event and some
motion events. The GUI system sees that and starts a drag and drop
operation. The two things are not connected.


Tim Roberts, xxxxx@probo.comhttp:
Providenza & Boekelheide, Inc.


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

— 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

— 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</http:>

You MIGHT be able to write an application that layers either one big, mostly
transparent window on the desktop or has multiple tiny cursor sized windows.
This app could communicate with the other users, and potentially give a UI
effect of multiple cursors.

The question to be solved would be, once your overlap app get’s the mouse
event how would it then resend it to the underlying window. The app would be
sort of a mouse event filter with visual feedback.

Display hardware only had one cursor, although am not sure modern display
hardware even has dedicated cursor hardware anymore.

If I were you, I’d go looking for sample apps for transparent windows. I
seem to remember some sample that had a swarm of insects that followed your
cursor around, which seems like an app that might be similar to what you
need to do.

I’m assuming it’s YOUR app, is there something that prevents you from just
drawings your own simulated cursors for other remote users (like on a
desktop sized transparent window).

A driver doesn’t at all seem like a viable solution.

Jan

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of James Rassel
Sent: Monday, May 24, 2010 6:24 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] About the Virtual Mouse without the Physical Mouse
Attached

Dear Team Roberts,

I understand your points, thank you.

But my understanding is, If I attached two physical mouse , it is possible
to do the drag-drop operation (Just conceptually for now) using one mouse
and Cursor movement using another mouse at the same time. Atleast I can say
this after use the “TeamPlayer” Software (http://www.wunderworks.com/).

Now, I assume the following two possibilities

  1. If I push the same mouse action data to the driver through the Serial
    Port (Real or Virtual Port), problematically

  2. I write the drive in such a way, it can read the mouse action from a
    file. So I write the similar mouse action data into the file.

So how much these concept differ, comparing with physically attached mouse.

James

— On Tue, 5/25/10, Tim Roberts wrote:

From: Tim Roberts
Subject: Re: [ntdev] About the Virtual Mouse without the Physical Mouse
Attached
To: “Windows System Software Devs Interest List”
Date: Tuesday, May 25, 2010, 6:21 AM

James Rassel wrote:
>
> But I am really bit surprised, If it is possible to control multiple
> mouse (Physical Mouse)
> in a single PC then why it is not possible without Physical Mouse. The
> concept is very similar but the only different is, physical attachment
> of the device.
>

It IS possible to have multiple mice. I have a trackpad and a USB mouse
on my laptop, for example. However, they all control ONE cursor.

> I understand that, controlling the multiple mouse independently is
> difficult (or impossible in the current context) , But what , if I do
> a single action ? For example, Mouse2 is doing drag-drop operation, at
> that time, drag-drop operation is not possible using Mouse1, But
> Mouse1 can move his cursor only.
>
> Will I be hopeless to achieve this too ?
>

Yes. Take a moment to think about this. The concept of “drag and drop”
doesn’t mean anything at the mouse driver level. There’s just button
down, button up, and motion. But at the operating system level, the
parts that handle drag and drop don’t have any notion of which mouse
triggered an event. Some driver sends up a mouse down event and some
motion events. The GUI system sees that and starts a drag and drop
operation. The two things are not connected.


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


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

— 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

Step back and explain exactly which of these two different things you want:

Do you want to be able to control two independent pointers (the little icon that moves around on the
screen) with 2 different pointing devices (e.g. mice)? If so, what makes you think this is possible?
Have you ever seen more than 1 pointer on the screen in Windows?

(Other than in a remote desktop session, which is a completely different thing… it’s more
optimized than this, but think of remote desktops as like sending bitmaps from the remote machine’s
display over the net to be drawn locally)

Or, instead, are you asking how to control *one* pointer icon with 1 or more mice even when you
don’t have a physical mouse attached to the machine? If so, that’s quite easily done, as Doron has
explained.

In this second case, of course both mice will move the same pointer, so you could drag with one
mouse, and the other will add its motion to whatever motion you make on the first mouse, but it’s
still 1 pointer.

BTW, both multipoint SDKs mentioned earlier is for writing *apps* that can handle 2 different
pointers outside of Windows normal channels (the open source one claims to support apps not written
to use the SDK, but I very much doubt it works all that well, or for all applications, because there
are some logical problems with multiple pointers that I doubt most apps handle very well).

On 5/24/2010 6:24 PM, James Rassel wrote:

Dear Team Roberts,

I understand your points, thank you.

But my understanding is, If I attached two physical mouse , it is
possible to do the drag-drop operation (Just conceptually for now) using
one mouse and Cursor movement using another mouse at the same time.
Atleast I can say this after use the “TeamPlayer” Software
(http://www.wunderworks.com/).

Now, I assume the following two possibilities

  1. If I push the same mouse action data to the driver through the Serial
    Port (Real or Virtual Port), problematically

  2. I write the drive in such a way, it can read the mouse action from a
    file. So I write the similar mouse action data into the file.

So how much these concept differ, comparing with physically attached mouse.

James

— On *Tue, 5/25/10, Tim Roberts //* wrote:
>
>
> From: Tim Roberts
> Subject: Re: [ntdev] About the Virtual Mouse without the Physical
> Mouse Attached
> To: “Windows System Software Devs Interest List”
> Date: Tuesday, May 25, 2010, 6:21 AM
>
> James Rassel wrote:
> >
> > But I am really bit surprised, If it is possible to control multiple
> > mouse (Physical Mouse)
> > in a single PC then why it is not possible without Physical
> Mouse. The
> > concept is very similar but the only different is, physical
> attachment
> > of the device.
> >
>
> It IS possible to have multiple mice. I have a trackpad and a USB mouse
> on my laptop, for example. However, they all control ONE cursor.
>
>
> > I understand that, controlling the multiple mouse independently is
> > difficult (or impossible in the current context) , But what , if I do
> > a single action ? For example, Mouse2 is doing drag-drop
> operation, at
> > that time, drag-drop operation is not possible using Mouse1, But
> > Mouse1 can move his cursor only.
> >
> > Will I be hopeless to achieve this too ?
> >
>
> Yes. Take a moment to think about this. The concept of “drag and drop”
> doesn’t mean anything at the mouse driver level. There’s just button
> down, button up, and motion. But at the operating system level, the
> parts that handle drag and drop don’t have any notion of which mouse
> triggered an event. Some driver sends up a mouse down event and some
> motion events. The GUI system sees that and starts a drag and drop
> operation. The two things are not connected.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>
> —
> 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
>
>

Two points:

  1. Most if not all retail applications would not know what to do with multiple independent mouse cursors anyway. Most application sharing systems assume that you grab and relinquish single mouse control cooperatively.

  2. If you need to remotely control your own custom application, you can draw the cursors yourself and use your own multi-cursor messages.