[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.0

Using multiple mouse separately

Asked by PIBM in Windows Programming

Tags: mouse, multiple

I want to use at least 2 mouse at the same time (on windows). Those are two logitech optical wheel mouse. I need to have the variation on the X & Y axis of both mouse, separately.

I've tried enumerating the devices with Direct X 8.1 to no avail (well, that's my first try) since I only get one GUID even if I have two mices connected. Moving any of them move the cursor so yes they are both working.

I've included that in the mouse input sample coming with the Direct X 8.1 SDK

std::vector<GUID> aGUID;

BOOL CALLBACK DIEnumProc(LPCDIDEVICEINSTANCE lpddi, LPVOID pvRef)
{
   aGUID.push_back(lpddi->guidInstance);
   return DIENUM_CONTINUE;
}

in the OnCreateDevice fct after the Direct Input object creation.

     aGUID.clear();
     g_pDI->EnumDevices(DI8DEVTYPE_MOUSE, DIEnumProc, 0, DIEDFL_ATTACHEDONLY);

     {
          std::ostringstream os;
          std::hex(os);
          os << "GUID" << std::endl;

          for (int i = 0; i<aGUID.size(); ++i) {
               os << aGUID[i].Data1 << " " << aGUID[i].Data2 << " " << aGUID[i].Data3 << std::endl;
          }

          std::string lReponse = os.str();
          MessageBox(NULL, lReponse.c_str(), "TEST", MB_OK);
     }


I've also tried DIDEVTYPE_HID but I get no device. (and DIEDFL_ALLDEVICES, INCLUDEHIDDEN ..)

I tried direct x since I though we had access to everything... if that's not the solution feel free to use something else, if it's on windows..

I really need to get that working!
Thank you a lot,
  PIBM

2X pts bonus if I get a working answer before Valentine's Day! ;)
[+][-]02/10/03 11:17 AM, ID: 7919810Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/11/03 12:35 AM, ID: 7923730Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/11/03 09:35 AM, ID: 7927156Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/23/03 11:27 PM, ID: 8006710Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/24/03 08:59 AM, ID: 8009619Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/24/03 10:00 AM, ID: 8010076Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/24/03 03:58 PM, ID: 8012645Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/24/03 09:59 PM, ID: 8014381Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/28/03 03:03 PM, ID: 8045249Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02/28/03 08:27 PM, ID: 8046328Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Windows Programming
Tags: mouse, multiple
Sign Up Now!
Solution Provided By: NickRepin
Participating Experts: 4
Solution Grade: B
 
[+][-]02/28/03 08:54 PM, ID: 8046398Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/01/03 01:30 AM, ID: 8047106Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/02/03 06:42 AM, ID: 8051769Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/29/03 04:27 PM, ID: 8609840Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/29/03 09:15 PM, ID: 8611276Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/24/04 02:47 AM, ID: 10666077Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]03/24/04 06:25 AM, ID: 10667944Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/24/04 03:27 PM, ID: 10672844Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81