libretro / mame2016-libretro

Late 2016 version of MAME (0.174) for libretro. Compatible with MAME 0.174 sets.
Other
33 stars 40 forks source link

Fix greatgun mappings & mouse buttons, add multimouse/lightgun #57

Open StormedBubbles opened 2 years ago

StormedBubbles commented 2 years ago

Hello,

This is almost identical to my lr-mame2015 pull request since 2015 and 2016 largely share the same code. Here is what I changed:

The "XY device (Restart)" option replaces the option that enables the mouse and allows the user to switch among "none," "lightgun," and "mouse." As mentioned in my 2015 pull request, it would be better to make this option not require a restart. I wasn't able to figure that out, so please feel free to edit or make suggestions on how this could be done!

StormedBubbles commented 2 years ago

I forgot to mention that this will resolve issues #45, #50, and #54.

Colgaton commented 1 year ago

Is there a plan to merge them?

StormedBubbles commented 1 year ago

Hi,

I have been using this on my own build (Raspberry Pi 4B) since I submitted the PR. I don't think there are any issues introduced by the additions.

I wasn't able to extend the player count past 4 for some reason. Compiling worked, but the emulator would crash without an indication of what the issue was. I'm guessing the issue had something to do with input descriptors because lr-mame had a similar issue that was resolved a while ago.

In the future, I can add in additional gun buttons (Aux B, Aux C, Gun Start/Select, Gun D-Pad) if desired. I will leave that for a separate PR.