MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

McHale
Reged: 02/23/05
Posts: 118
Loc: BFE Illinois
Send PM
Re: -joystick_map issue/question
07/30/13 09:09 AM


> i havnt tried any of this stuff but maybe a program like key2joy might help (there is
> also a program called joy2key)
>
> links: (in the first link maybe check out vjoy also...)
>
> http://forum.arcadecontrols.com/index.php?topic=60431.0
>
> http://www.google.co.uk/search?q=joy2key

OK, spent some time with vjoy (which is a pretty decent program). While using vjoy, setting my mapped keys as a joystick, the joystick maps work. And when the joystick maps work, the 4 way/8 way issue is basically resolved. So, if we could get MAME to recognize the joystick map for keyboard control as well, far fewer people will have to worry about the 4 way issue on 8 way joysticks.

For anyone that would like to try it, here's the 4 way joystick map I'm using for games like Donkey Kong and Pac-Man:

joystick_map s8888888s.4s88888s6.44s888s66.444s8s666.444456666.444s2s666.44s222s66.4s22222s6.s2222222s.

One reason that solutions like vjoy aren't a great solution is it maps the keys to a joystick so while the driver is active, you can't use those keys. I haven't coded in C in a few years but I may try to find the code related to joystick_map and see what it would take to enable it for keyboard entry. The issue exists whether using keys or joystick as the issue is caused by hitting 2 directions at once, which is a frequent occurrence on games like Pac-Man and Donkey Kong, regardless of your method of movement.

-Mc







Entire thread
Subject Posted by Posted on
* -joystick_map issue McHale 07/29/13 08:28 AM
. * Re: -joystick_map issue/question GatKong  07/29/13 03:58 PM
. * Re: -joystick_map issue/question McHale  07/29/13 04:18 PM
. * Re: -joystick_map issue/question R. Belmont  07/29/13 05:05 PM
. * Re: -joystick_map issue/question McHale  07/29/13 05:36 PM
. * Re: -joystick_map issue/question grog  07/29/13 07:37 PM
. * Re: -joystick_map issue/question McHale  07/30/13 09:09 AM
. * Re: -joystick_map issue/question McHale  07/29/13 07:59 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 121 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2434