Main > Software Forum
MAME mouse code - revisited
Derrick Renaud:
--- Quote from: u_rebelscum on December 05, 2006, 07:24:19 pm ---[It's not exactly garbage, and needs "decoding".
--- End quote ---
Hi Robin,
Close enough to garbage. How about severely mangled. :)
RAWMOUSE always gives values between 0 & 0xffff. Nice and pretty for use.
For DX, if you use DIPROPCALIBRATIONMODE_RAW, you always get values between 0 and 0x3fff. No muss, no fuss, reliable, the kind of data you would expect from an interface that worked. Of course you shouldn't have to do that, because if you ask for DIPROPAXISMODE_ABS, you would think you would get the absolute data you request, not relative to something absolute.
To change topics a little. Did you see my other post about adding Digital Speed = 0? It has to be a couple years since I first mentioned it and now finally got around to coding it. :)
D.
Minwah:
--- Quote from: Funky_K on December 04, 2006, 01:26:17 pm ---This topic reminded me of a question I had regarding Direct Input codes for mice.
I use MameWah as a front end. In the config file, functions are assigned to keystrokes by their direct input codes ("K" = DIK_K, "Enter" = DIK_RETURN, etc.)
Are there also codes to assign mouse button presses? If so, what are they?
--- End quote ---
For Mamewah (from http://mamewah.mameworld.net/docs/ctrlr.txt):
'Mouse Inputs:
MOUSE_LEFT
MOUSE_RIGHT
MOUSE_UP
MOUSE_DOWN
MOUSE_SCROLLUP
MOUSE_SCROLLDOWN
MOUSE_BUTTON0
MOUSE_BUTTON1
MOUSE_BUTTON2
MOUSE_BUTTON3
BUT NOTE this is *only* for Mamewah...I invented these codes just to keep things simple...same goes for the joystick codes.
Smog:
My driver was supposed to work on win 98 .. I had a lot of troubles with the driver control panel (this means you probably cannot configure buttons) but it should work ... I'll try to give it a look in next days.
ahofle:
Hey Derrick...I just tried the latest MAME (v0.111) and Hogan's Alley and Duck Hunt are still messed up. I then realized it was the Vs versions I was trying, not the Playchoice ones (sry about that). You still can't move the mouse cursor or lightgun to the far right of the screen. Is this the same problem as the Playchoice thing you just fixed?
Derrick Renaud:
--- Quote from: ahofle on December 19, 2006, 06:03:29 pm ---Hey Derrick...I just tried the latest MAME (v0.111) and Hogan's Alley and Duck Hunt are still messed up. I then realized it was the Vs versions I was trying, not the Playchoice ones (sry about that). You still can't move the mouse cursor or lightgun to the far right of the screen. Is this the same problem as the Playchoice thing you just fixed?
--- End quote ---
They worked for me last time I checked. I only saw a problem with the dual screen update. Won't get a chance to look at it till after the holidays.
Does anyone else report the same problem?
D.
Navigation
[0] Message Index
[*] Previous page
Go to full version