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: MAME ignores virtual mouse input controlled by joystick via ControlMK  (Read 2748 times)

0 Members and 1 Guest are viewing this topic.

johnk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:January 17, 2019, 04:29:50 pm
  • I want to build my own arcade controls!
I am running 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)?
« Last Edit: January 15, 2012, 01:02:13 pm by johnk »

johnk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:January 17, 2019, 04:29:50 pm
  • I want to build my own arcade controls!
Re: MAME ignores virtual mouse input controlled by joystick via ControlMK
« Reply #1 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.

drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: MAME ignores virtual mouse input controlled by joystick via ControlMK
« Reply #2 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.