Main > Software Forum
MAME 104u5 out - adds multiple mice
Derrick Renaud:
--- Quote from: Peale on March 14, 2006, 09:47:18 pm ---
--- Quote from: Derrick Renaud on March 14, 2006, 06:55:58 pm ---
Nu-uh! You're a poopoo head!
--- End quote ---
Fixed.
--- End quote ---
I thought I went back and deleted that post. ;)
Hopefully people have found the whole thread at least a little informative and entertaining. :D
-------------
Just a little WIP mention.
As I have stated elsewhere, I have fixed the list of mice that RAWMOUSE supports, so new mice get added to the end. Do not base your ctrlr files on the current code. Blame MS for supplying the list backwards.
I have added the window clipping for RAWMOUSE and fixed the DX window clipping that I broke. When using RAW mode you have to do everything yourself. I was hoping not too many people would notice the mouse leaving the game window when running the game in a window.
I now get the DeviceDesc field for the mouse (the mouse name). I have to manually search the Registry for this, because once again RAW does not provide much functionality. This is only used by -verbose to list the mice, just like the joystick names.
Removed -dual_lightgun. It won't be needed. Sorry, this means you will have to keep using an older version of MAME until I finish the lightgun support. It had to go before I can cleanly add the new support.
Still waiting for my Act Labs guns before I can go further.
D.
Derrick Renaud:
--- Quote from: btoddkelley on March 14, 2006, 10:01:16 pm --- Thanks for the great work on dual mice support. I am also a fan of your analog sound work. And if you ever do find a "head blowing up emoticon" maybe it can become Howard's avatar.
--- End quote ---
I just wanted to use it instead of the ???
The paradox of RAW being both the wrong way of doing it and the mysterious best way of doing it deserves at least a "robot head blowing up" pic.
I in no way meant to infer wanting to see Howard's head blown up. I meant it in reference to my head.
D.
rdmustang:
--- Quote from: Derrick Renaud on March 14, 2006, 07:56:50 pm ---
--- Quote from: Lilwolf on March 14, 2006, 10:59:37 am ---I have a control panel that plugs in and now 2 trackballs make a connection. Will they always be recognized in the same order? I haven't tried but I'm guessing they wont be. But that might be based on the passive hub.
--- End quote ---
My tests on Win98 and XP show that the mice will always be listed in the order connected.
Install A, then B, then C. They show up as A,B,C. Remove B, the list is now A,C. Put it back in and we have A,B,C.
--- End quote ---
I think Lilwolf's question was "when I plug in the control panel will the mice be detected in the same order every time" since both mice are connected simultaneously. I have a similar question.. when I power up the computer, will Windows detect both of my mice (2 trackballs) in the same order? Or will I need to boot windows, then manually connect trackball 1, then manually connect trackball 2?
Derrick Renaud:
--- Quote from: rdmustang on March 14, 2006, 11:05:42 pm ---I think Lilwolf's question was "when I plug in the control panel will the mice be detected in the same order every time" since both mice are connected simultaneously. I have a similar question.. when I power up the computer, will Windows detect both of my mice (2 trackballs) in the same order? Or will I need to boot windows, then manually connect trackball 1, then manually connect trackball 2?
--- End quote ---
My testing shows they will maintain the order in which they were first installed. Turning off the computer will not change that.
Only going into safe mode and deleting all mice, then re-installing them will change the order.
Any mouse you remove while power is off or on or change USB port seems to always return to it's initial place in the list.
Think of it as books stacked alphabetically. Remove a book and the list gets shorter and the missing book gets skipped. When you return the book alphabetically it is returned to it's original place.
Unfortunately further testing on a third machine shows what I said is not always true. There will be no easy solution. Naming the devices will work, if you have only 1 of each type of device. But if you have 2+ of a device, there is no easy way of knowing which is which. Unless it is always plugged into the same USB port. Adding any support for marrying a device to a MAME input may cause as many problems as it creates. So I have no interest at the moment.
D.
Farmboy90:
--- Quote from: Derrick Renaud on March 14, 2006, 10:22:39 pm ---
Removed -dual_lightgun. It won't be needed. Sorry, this means you will have to keep using an older version of MAME until I finish the lightgun support. It had to go before I can cleanly add the new support.
Still waiting for my Act Labs guns before I can go further.
D.
--- End quote ---
Hey Derrick,
What does this mean for LCD TopGun users? I am just trying to understnad the impact, so forgive me if if I get some of this incorrect.
I suppose even with your upcoming light gun fix we will be unaffected? I mean if we do nothing but upgrade to whatever forthcoming version of mame contains the light gun code, things will work as before. However if EMS fixes their driver, then we can drop the GunCon2 drivers, use theirs, use the upcoming mame, and have dual tracking guns?
Is that correct?
Thanks again!
EDIT ****
By the way, if you need someone to test your code with two guns, count me in. :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version