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 --- Bug Reports --- Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news


Author Topic: Custom mouse input for MAME Lightgun games  (Read 367 times)

0 Members and 1 Guest are viewing this topic.


  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:January 07, 2020, 11:53:31 am
  • I want to build my own arcade controls!
Custom mouse input for MAME Lightgun games
« on: January 06, 2020, 12:53:22 pm »
Hey guys,

I have been inspired by gtavccat's project here :,160807.0.html

I noticed that his system works great to track mouse movements but it doesn't work in MAME.

How can one go about allowing such a device to work in MAME?

The first thing that pops in my head is to use a virtual mouse driver, which takes in data from the lightgun/camera and outputs raw data which controls the windows mouse.

Do we have any ideas? Thanks in advance!


  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18326
  • Last login:Today at 12:08:00 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Custom mouse input for MAME Lightgun games
« Reply #1 on: January 07, 2020, 03:55:57 pm »
I haven't messed with this yet, but just do what he said... use ppjoy.  Mame (unhacked anyway) can't handle fake mice, but it has no problems with fake joysticks.