Main > Main Forum

Another trackball problem with Mame 1.06

<< < (4/5) > >>

krick:

--- Quote from: u_rebelscum on June 15, 2006, 10:40:02 pm ---
You actually bring up one of the strongest reasons to bring back/in the system mouse (anything to add, Howard?).  PS/2 mice don't work in mame if any USB mice are plugged in in win9x. 

Adding it will raise a huge problem, though: mapping mice.  There is no way for mame to know if you want to use sysmouse, the USB, or both USB & sysmouse (not OR) when using the TAB Input remapping (if sysmouse always shows).  Having a -singlemouse option would need special handing in cases when it's sometimes used and other times it's not; as is mame would "unmap" any input mapped to mouse 2-8 down to mouse 1 when -singlemouse is enabled and save it (so sysmouse doesn't show at same time as individual mice).   And it's a win95/win98/winME only problem.


--- End quote ---

I thought that it was supposed to work like this...

--- Code: ---  if ( RAWMOUSE_SUPPORT && (MOUSECOUNT > 1) )
  {
      use_raw_mouse();
  }
  else
  {
      use_direct_mouse();
  }

--- End code ---

That way, it always uses the "normal" behaviour unless the user has XP and more than one mouse.

Is that not how it works?

kiddk1:
if you can upgrade to xp i think that will solve your problem

u_rebelscum:

--- Quote from: krick on June 16, 2006, 10:46:48 am ---
--- Quote from: u_rebelscum on June 15, 2006, 10:40:02 pm ---You actually bring up one of the strongest reasons to bring back/in the system mouse (anything to add, Howard?).  PS/2 mice don't work in mame if any USB mice are plugged in in win9x....

--- End quote ---

I thought that it was supposed to work like this...

--- Code: ---  if ( RAWMOUSE_SUPPORT && (MOUSECOUNT > 1) )
  {
      use_raw_mouse();
  }
  else
  {
      use_direct_mouse();
  }

--- End code ---

That way, it always uses the "normal" behaviour unless the user has XP and more than one mouse.

Is that not how it works?
--- End quote ---

It is how it works, except this isn't the cause of what's happening.  Note that official mame could do multiple mice in win98 since mame 0.85 (except for remapping through tab interface), so "normal" is not what you're thinking.

The problem is rooted in both the new directInput & RawInput mame code do the same thing: If number mice found > 1, then ignore the system mouse.  The difference between rawInput and directInput (well, besides the first does multiple mice in winXP and the second does multiple mice in win9x ;) ) is that directInput can only see PS/2 & serial mice in the system mouse, while rawinput can see them individually.  (Both DI & RI can see USB mice individually, and a virtual mouse of all mouse inputs combined aka "system mouse" if wanted.)  Since the system mouse is ignored (for good reasons), with win9x, DI & at least one USB mouse, mame can't see any PS/2 mice.  And even if mame did see the sysmouse (like before the changes), the input from sysmouse would also include the USB movements.


Solutions for Ifko:
Get mouse PS/2 to USB converter
Upgrade or hack a USB interface to replace the PS/2 unit
Upgrade to winXP
Use old mame from before it started ignoring system mouse
Edit mame source.

Ifko:

MISSION ACOMPLISHED!!

solution:

Get mouse PS/2 to USB converter--

I got this,   and then had the trackball running on one of my USB Ports,   currently I have nothing running on that second PS/2 port.

I was able to go into Tabs then general controller 1 screen and configure the trackball,   and yes it is now registering the movement of the trackball.
I did this for both X and Y axis.

That was it,   thank you
If you are running windows 98, you have to either use anolder version of Mame,  or have your Trackball/mouse  pluged into a USB Port and Not a PS/2 port.
or upgrade to XP,  which is a definate option, I didnt want to go through the hassle.


Now, not to confuse things, but I will test this... I am thiking that no controller, will be playable with it plugged into the PS/2 port with Windows 98.   I have a USB to PS/2 converter and was going to try it with the spinner.


Scott

ahofle:
 :applaud:   :applaud:   :applaud:

And thx to u_rebelscum, from whose every post I learn something new. :)
And kiddk1 who suggested the ps2/usb converter in the first place.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version