> No, you haven't done anything wrong. > > The "most logical" 4-way joystick semantics you request are already implemented in > MAME, but only for games whose inputs are configured that way. If you scan the > -listxml output carefully for the tags describing joystick controls, you may be able > to see the number of ways they have been configured with.
As an adjunct to this: something that I would like to see implemented would be the ability to select how many positions the joystick has from the tab menu.
Whatever the driver specified would be the default, but being able to manually select a value could be useful. It's something I've wished that MAME could do a few times over the years to see how the original hardware might behave if a different joystick type is in use without actually replacing the stick currently in a physical machine or recompiling.
I realise that's something of a corner case, but it may also be helpful with verifying game behaviour in the debugger in certain situations.
Related to that, the OP's idea of also being able to select which keypress is read first when multiple presses are registered sounds like it has some merit. This might also work well as a tab menu item, but may need to have some knobs applied to it. As an example, if UP + RIGHT is registered it may be more desirable to read UP and not RIGHT, but there may be situations where the opposite applies. Sort of a 'cardinal directions priority' setting, so to speak.
|