#99155
free5ty1e
Participant

Good news, everyone!

I’ve managed to get mappable information into the controller logic from the emu.cfg… I’m working out the logic to wire it all up, but it should allow for maximum flexibility in mapping any controller once I’m done :D

The config will look something like this, so we can define a bunch of controllers to match against (individually for each controller once I get multiplayer figured out):


[PLAYSTATION(R)3 Controller]
button.0=Btn_Z
axis.0=Axis_X
quit=16

Any missing mapped buttons or axes will utilize the default mapped buttons and axes. I will also provide a “nothing” map to disable a certain button, and the “quit” item is special since it is handled differently; this means button index 16 will act as the Quit Emulator button.

Will update the branch I shared above with this once I get it all working. Should be sometime this weekend, methinks :D