Google Answers Logo
View Question
 
Q: Can you draw two mice on the screen? ( No Answer,   1 Comment )
Question  
Subject: Can you draw two mice on the screen?
Category: Computers > Programming
Asked by: jello10298-ga
List Price: $30.00
Posted: 22 Feb 2004 14:30 PST
Expires: 23 Mar 2004 14:30 PST
Question ID: 309594
I'm looking for a program to take two mice inputs and display two mice
on the screen independently.  So if you wanted to have two people play
a game, each mouse would control a different cursor on the screen.  I
would like it implemented for Windows XP using the RAWINPUT api and
using Visual C++ 6.0.

Other suggestions for implmentation would be interesting as well.

I'm a grad student in cs, but don't have that much time these days.  So let's 
see if someone bites at this.

Clarification of Question by jello10298-ga on 22 Feb 2004 14:31 PST
I would like the source too, the more documentation, the more i might
give for a tip.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Can you draw two mice on the screen?
From: cheater512-ga on 27 Feb 2004 23:51 PST
 
You could do it using DirectInput with a Joystick acting as the second mouse.
Then depending on what you want you could use the windows GDI API to
draw a bitmam on to the screen or you could use DirectDraw.

I dont program in C++ so i cant show you code but google around for
DirectInput and GDI and your sure to get plenty of examples.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy