Main > Main Forum
u360 and 4 way
EMDB:
--- Quote from: Ginsu Victim on March 18, 2014, 09:18:59 am ---Wouldn't MAME only possibly interfere if you had the U360 in analog mode? Setting a map should keep it from being seen as analog (to my knowledge).
--- End quote ---
No. Connecting it via USB means it is an analog stick in Windows, using the harness connected to an ipac or other encoder means digital (to my knowledge ;) ).
jordanshadow:
I used and 8 way restrictor on the u360 because the idea is that I wanted to replace having to add a 4 way joystick. The u360 was indeed recognized as an analog stick by windows. I should try it again with a wiring harness.
TKW4rr10r:
??? ??? ???
Not to derail the thread, but sincerely curious as to the proper setup of these u360s.
One of my projects has a plan for four u360s in play on the control panel (hush, I have my reasons). The analog will be needed for certain emulators/games, but I did not know of any issues running them via USB in Mame. What I'm trying to wrap my head around is how the custom mappings are applied depending on game loaded in Mame. Is this not something that can be set if the u360s are connected via USB? What functionality do you loose by using the wire harness instead?
EMDB:
--- Quote from: TKW4rr10r on March 18, 2014, 05:21:14 pm --- ??? ??? ???
Not to derail the thread, but sincerely curious as to the proper setup of these u360s.
One of my projects has a plan for four u360s in play on the control panel (hush, I have my reasons). The analog will be needed for certain emulators/games, but I did not know of any issues running them via USB in Mame. What I'm trying to wrap my head around is how the custom mappings are applied depending on game loaded in Mame. Is this not something that can be set if the u360s are connected via USB? What functionality do you loose by using the wire harness instead?
--- End quote ---
I contacted Andy (from Ultimarc) and he told me the U360s were indented to be used via USB only. The harness was only added to use the sticks in dedicated cabs. Connecting them via USB will show them in windows as analog sticks. MAME will add mappings for analog sticks based on the game. This seems to conflict with the mappings loaded into the stick. I'm not sure whether you can disable mapping in MAME to prevent this. I connected my U360 via the harness to an IPAC2 making it a "fully digital but switchless" stick. I'm very satisfied with this setup as I can load mappings based on the selected games without intervention of MAME. It works fine for 4 and 8 way games and special cases like the 45 degrees rotates sticks of QBert.
EMDB:
As I started to get curious how this worked exactly I did some research:
MAME uses mapping of all joysticks based on an internal table of directions per game. It distinguishes between 4, 8 and 4 diagonal way. You can get the full list of games including the directions by running the following command line:
mame -listxml > games.xml
You can also create your own mappings per game. The format is quite complex but there is a very handy tool to create / edit these mappings:
Mame Joystick Map Editor v1.4
The mapping per game should be copied to the MAME cfg folder as gamename.ini.
I removed the harness of my U360 so it is used analog again. I loaded my custom Qbert mapping and fired up QBert in MAME. The result was QBert was totally unmovable due to the conflicts in the U360 and MAME mappings.
Then I copied the 8-way mapping included in the Mame Joystick Map Editor to default.ini in the cfg folder of MAME and changed the default joystick mapping option in MAME.ini to
joystick_map default
The 8-way mapping is more or less a pass-through filter as it just passes the joystick directions created by the U360 loaded mapping. This way the pure U360 mappings are used without MAME changing them.
Firing up QBert again and it was perfectly controllable. Exactly as it was when running the U360 via my IPAC2.
The advantage of connecting the U360 via USB only is you can still use the analog mode of the U360 by loading the analog mapping table.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version