Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Multiple mice in Windows 2000  (Read 1039 times)

0 Members and 1 Guest are viewing this topic.

jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Multiple mice in Windows 2000
« on: February 08, 2004, 03:54:56 pm »
I just discovered an open source development project called CPNMouse that makes it possible to use multiple mice in Windows 2000 and XP without using RawInput.  He created a "filter driver" which (I believe) acts like the usual driver, but also lets you use a multiple mouse API that he has written as a supplement for the driver.

Read about it on this site:
http://cpnmouse.sourceforge.net/

Before he started writing code, he wrote a publication entitled "Supporting Multiple Pointing Devices in Microsoft Windows" in which he references Mame Analog+!  Check it out here:

http://klafbang.dk/personlig/publications/mouse.pdf

As of right now, it works with Windows 2000, XP, and 2003.  If a driver can be written for Windows 9x, then this system could potentially work for all the important versions of Windows (95, 98, ME, 2k, XP, 2k3).

The biggest difference between this solution and the current solutions (DirectX and RawInput) is that it requires that a different mouse driver is used than the default Microsoft one.  I've been playing around with it, and it seems really cool so far.  It supports Serial, USB, and PS/2 mice.  It works with lightguns and mice, and I'm able to compile the api demo program using the Mame compiler environment (MinGW/GCC).

I put up a web page where I plan to keep track of my progress while I play around with CPNMouse.  You can check it out here:

http://jstookey.com/arcade/cpnmouse/

I'm curious to know people's thoughts.

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re:Multiple mice in Windows 2000
« Reply #1 on: February 08, 2004, 09:39:11 pm »
Is there any problem for people who have to use a specific mouse driver (does it wrap another driver... or itself is a driver?)

But will it solve much over the current seperate solutions?  Other then getting it to one code base for both?

jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Re:Multiple mice in Windows 2000
« Reply #2 on: February 08, 2004, 11:29:52 pm »
Is there any problem for people who have to use a specific mouse driver (does it wrap another driver... or itself is a driver?)
I don't know.  I emailed this question to the author.  I've never used specific drivers for any mice.  Have you?  Do you have any idea of how much of an issue it is?

Here's an image taken out of the pdf document describing cpnmouse, if that helps to confuse you any:  ;D


Quote
But will it solve much over the current seperate solutions?  Other then getting it to one code base for both?
Ehhh, no not really - just the fact that there could be consistent support for nearly all versions of Windows.  Also, I sort of believe that having choices is a good thing.  If somebody has trouble getting one method to work, having a second method to try could be a good thing.  I know, that's not really the Windows Way, and for good reason - it makes things more complicated.  That's where I'm wondering if this solution is a good thing or not.  I'd love hear opinions on the matter.

jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Re:Multiple mice in Windows 2000
« Reply #3 on: February 09, 2004, 08:41:55 am »
I have gotten a response from the author:

Quote
> Is there any problem for people who normally have to
> use a specific mouse driver?

There shuold be no problems, as the normal mouse driver is still loaded, CPNMouse just loads above it in the driver stack, and filters out unwanted events.

When a completely new bus for mice appears, a new .inf file will have to be developed, but that should be all.

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re:Multiple mice in Windows 2000
« Reply #4 on: February 09, 2004, 10:40:42 am »
Cool!  I only have one trackball that doesn't use normal drivers...  But that one isn't currently being used on my arcade machine.  But someone might find a problem with it..

Anyway.  I think the question is would someone keep custom drivers loaded all the time on their system... Instead of downloading the analog+ version specific to their system.  I don't think there are too many which use BOTH xp and 98 and multi-mice on their systems.  So putting development time might not be all that useful.

But then again.... then xp 'fix' isn't supported by microsoft.  So you might find it not working in 2003... and win64.  So this might be a good solution for the long term.