Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: johnk on January 15, 2012, 12:43:30 am

Title: MAME ignores virtual mouse input controlled by joystick via ControlMK
Post by: johnk on January 15, 2012, 12:43:30 am
I am running ControlMK (http://www.redcl0ud.com/controlmk/ (http://www.redcl0ud.com/controlmk/)) to use my gamepad's analog stick for mouse control.

The mouse control works fine in Windows, and I can see it moving the highlight bar up/down in the menus inside MAME.

But MAME does not recognize the mouse movements.  When I move the stick when trying to set a controller input in MAME (such as Dial Analog), MAME will just detect the joystick axis (or if I disable joystick input in MAME, then it acts like no inputs are being pressed).

When I use an actual mouse to configure Mouse X Axis for the Dial Analog control, then the joystick still won't work in a game - it just acts like no mouse movement is happening.

I'm using MAMEUI64 144.5 on Win7, and I've tried multiple gamepads.  

Any suggestions?  Just a bug in MAME (seems like it since Windows recognizes the mouse movements)?
Title: Re: MAME ignores virtual mouse input controlled by joystick via ControlMK
Post by: johnk on January 15, 2012, 01:01:46 pm
I think it's the FORCE_DIRECTINPUT change that was apparently introduced around MAME 118, requiring custom compilations to get emulated mouse/keyboard input.  I found out about this when reading up on an alternative joy-to-mouse/key app called Xpadder.

I downloaded an old MAME version, which worked, but it turns out that the joystick mouse control is just not good enough.
Title: Re: MAME ignores virtual mouse input controlled by joystick via ControlMK
Post by: drventure on January 15, 2012, 02:37:50 pm
I think mame talks to the mouse via the RawMouse interfaces, so it can independently read multiple mice. So any mouse emulator would have to emulate at a pretty low level for rawmouse to see it. I wouldn't think it impossible, it just might not be common in mouse emulation software.

But that's a guess.