| Main > Main Forum |
| Q*Bert controls with 8-way joystick |
| (1/4) > >> |
| bkenobi:
I tried to find a thread that had the answer to my question, but couldn't find the right search terms. :dizzy: I'm trying to play Q*Bert with standard 8-way joysticks. I'm not sure why, but MAME won't let me map multiple inputs to the directions, so I can't map my diagonals as I want. I really don't have a clue why this is a problem as I've had no problem mapping multiple inputs to other controls. Help? Oh, I should mention that I tried manually editing the cfg file to add both directions, but when I go to MAME, the directions don't work at all then. :dunno |
| ahofle:
Hmm, what do you mean it won't let you? In the 'input - this game' menu, go to 'up', press enter, and then push your 8-way up and left at the same time. What does that do? |
| severdhed:
thats how we did it on the cabinet here at work, it worked beautifully. |
| u_rebelscum:
I bet he's using gpwiz, u-hid in joystick mode, or a gamepad hack. Ignore the following if you have a keyboard encoder (and aren't using a key2joy app). Mame has a couple default 9x9 grid maps designed for analog joysticks used as 8 or 4 way sticks. However, wondows treats all joysticks devices, including digital 8 ways, X & Y axes as analog. One map is a analog to 8-way map, and an other is an analog to 4-way map. Quess which one mame uses for qbert (hint: the game used a 4-way joystick ;)). So there are two ways to fix it: make mame use an "8-way" grid map and remap like you want, or make mame use a "rotated 4-way" grid map (no other remapping needed). I'd make a qbert.ini file and put one line in it. What the line says depends on which of the above two choices you use. I prefer the latter: joystick_map 4444s8888..444458888.444555888.ss5.222555666.222256666.2222s6666.2222s6666 but the former might be easier to understand (even if more steps): joystick_map 7778...4445 I could go into how the -joystick_map option works, but the docs/config.txt file is very good about it. Just note that for 8-way gamepad devices (like gpwiz), only 9 squares of the 9x9 (81 squares) grid matter: 7sss8sss9 sssssssss sssssssss sssssssss 4sss5sss6 sssssssss sssssssss sssssssss 1sss2sss3 The reason the grid maps I posted are so completcated is they are great for analog joysticks (like u360 in analog mode), too. (And I cut them for mame's source. ;)) |
| bkenobi:
Ahhh, I see! I'm using a GP-Wiz. I figured it had something to do with MAME forcing 4-way mode or something, but I had no clue that it used analog maps for this stuff. Interesting! Thanks for the guidance. I'll give this a go this weekend. :afro: |
| Navigation |
| Message Index |
| Next page |