Miss-Inputs / Meow-Launcher

Game launcher type thing
Other
3 stars 0 forks source link

Make X-Input-Method into an enum #25

Closed Miss-Inputs closed 6 years ago

Miss-Inputs commented 6 years ago

Ideally we'd be restricting it to a specific set of values. Everything else can be "Custom".

This relies on doing #24 first though, if not simply because that'd be the best way to figure out what all the possible input methods are.

I'd also need to figure out the difference between a dial and a paddle. Still haven't really done that. It is a mystery.

(Once I've done that, maybe I can autodetect arcade games that actually have steering wheels and not really paddles.)

Miss-Inputs commented 6 years ago

Dang! Ended up finding out everything I need to know. It's all there in https://github.com/mamedev/mame/blob/master/src/emu/ioport.cpp

And also https://github.com/mamedev/mame/blob/master/src/frontend/mame/info.cpp, which I need to refer to more often.