Let me see if I can answer your questions one by one....
However, I was under the impression that whatever game you threw at the U360, MAME (or the driver?) was able to work out which mapping to use itself and just use it (as in my last post, four way for Frogger or DK; eight way for Commando; two way horizontal for Space Invaders; analogue for Space Harrier; four way diag for Qbert etc).
Yes, that's essentially what MAME does.
You don't map the analog joystick.
MAME just reads the analog values and decides what to do with them.
Assuming this is in fact NOT the case then, do you have to specify each non-standard setup individually?
In general, you shouldn't have to do this. If for some reason you did, let me understand what the reason is.
For me, where I need to configure games individually is for button layout or spinner gain/sensitivity.
And if so, where are the settings stored and is there a repository somewhere online to download them all? Also (and this is the bit I really don't get), how do you specify a game to use a REAL analogue input (eg Space Harrier or Star Wars or something, I know that the latter won't control right but it's just an example) if you can only specify digital directions in that dialogue?
MAME has different categories of inputs.
- Digital Inputs, Analog Inputs, Spinners, etc
If the game requires analog inputs, it picks up the inputs to use from the analog input selection.
If the game requires digital inputs, it picks up the inputs to use from the digital input selection.
What you want to do is to configure these inputs for the U360 under GENERAL use so that they apply to all games.
Try this:
Configure the [General Player 1 Controls] digital input for Pac Man (I think you've done this already).
Configure the [Analog Controls] analog joystick for Sinistar. (Although somewhat misleading during play, the arcade game uses a 49-way joystick, thus this is a good match for the analog joystick)
Configure the [Analog Controls] spinner for Tempest.
The "Analog Controls" settings will be different from Tempest and Sinistar, even though the heading is the same.
I suggested these 3 for example because they use completely different inputs.
Under each of those games, look at the individual, game specific configuration, to understand what the games uses, but configure the GENERAL settings for the ANALOG controls, for example.
I think this might give you a better idea of how it works.
Now you could configure PacMan to use the trackball, or you could configure Sinistar to use the digital joystick (and lose the analog control capability), or Tempest to use the digital joystick but that's not optimal for play.
THIS is what I'm talking about: how do I tell MAME that I'm using an analogue joystick? Am I right in thinking that if I can get this sorted out that everything else will take care of itself?
So again, this is just to set expectations to make sure we're on the same page.
1. MAME does not "download" anything to the U360. It uses the analog inputs and does the mapping internally in the program.
2. You tell MAME to use the analog joystick by configuring the general Player 1 settings (or individual game settings) for the analog joystick. If you configure the general settings, you only need to do this once.
3. You tell MAME to use the analog joystick by configure the general Analog Controls settings for the analog joystick when you have a game loaded that uses the analog joystick. You should only need to do this once.
Does that help?
Once again, I think we're talking past each other a bit, and once you "get it", you're going to realize that it's really quite simple.