MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Rygar9
MAME Fan
Reged: 12/08/08
Posts: 52
Send PM
Re: can mame emulate 4 ways joystick ?
10/07/17 12:36 AM


You really can't, not in a very satisfying way.

The problem is this: Your 8-way has Left, Left and Up, & Up. The game doesn't recognize Left and Up. So what do you do?

1. You can ignore Left and Up. This is ineffective because you stop dead as you transition between joystick positions which will frequently be fatal.

2. You can assume that Left and Up should be the last single cardinality direction input until you see the next single cardinality direction. So if you were going Left and you transition to Left and Up, the emulator treats it as Left until it sees Up by itself. I believe this is what Mame does (Someone correct me if I'm wrong?). The problem here is, if you're a sloppy player or have a fairly crappy joystick you may have a lot of problems hitting a true Up without the other directions since there's no physical restriction.

3. You can assume that Left and Up is the single cardinality direction not last seen. So if you were going Left, assume you're now going Up because the Player must be transitioning directions. But with sloppy play or crappy joysticks, you'll just seem to jump directions randomly and get really frustrated.

It's possible to try and minimize the problem, but without a true 4-way restriction there's always going to be some compromise made and people are going to lose games because of it.







Entire thread
Subject Posted by Posted on
* can mame emulate 4 ways joystick ? jpettit 10/06/17 12:46 AM
. * Re: can mame emulate 4 ways joystick ? Vas Crabb  10/06/17 03:16 AM
. * Does MAME ignore diagonal input or treat them as strict U,D,L,R? DiodeDude  10/07/17 04:06 PM
. * Don't drink and post Sune  10/10/17 04:05 PM
. * Re: Don't drink and post Vas Crabb  10/11/17 02:07 AM
. * Drink and post Sune  10/11/17 04:36 AM
. * Re: can mame emulate 4 ways joystick ? jpettit  10/06/17 09:18 AM
. * Re: can mame emulate 4 ways joystick ? R. Belmont  10/06/17 01:59 PM
. * Re: can mame emulate 4 ways joystick ? jpettit  10/06/17 02:05 PM
. * Re: can mame emulate 4 ways joystick ? anikom15  10/06/17 04:39 PM
. * Re: can mame emulate 4 ways joystick ? Vas Crabb  10/07/17 05:30 AM
. * Re: can mame emulate 4 ways joystick ? jpettit  10/06/17 06:39 PM
. * Re: can mame emulate 4 ways joystick ? jpettit  10/06/17 08:10 PM
. * Re: can mame emulate 4 ways joystick ? evh347  10/07/17 05:29 AM
. * Re: can mame emulate 4 ways joystick ? Master O  10/11/17 01:58 AM
. * Re: can mame emulate 4 ways joystick ? MrBrow  11/28/19 08:11 AM
. * Re: can mame emulate 4 ways joystick ? Envisaged0ne  11/29/19 09:51 PM
. * Re: can mame emulate 4 ways joystick ? Vas Crabb  11/28/19 10:12 AM
. * Re: can mame emulate 4 ways joystick ? MrBrow  11/28/19 02:16 PM
. * Re: can mame emulate 4 ways joystick ? Firehawke  11/30/19 12:21 AM
. * Re: can mame emulate 4 ways joystick ? jpettit  10/07/17 10:47 AM
. * Re: can mame emulate 4 ways joystick ? evh347  10/07/17 03:25 PM
. * Re: can mame emulate 4 ways joystick ? jpettit  10/07/17 11:34 PM
. * Re: can mame emulate 4 ways joystick ? evh347  10/08/17 12:24 AM
. * Re: can mame emulate 4 ways joystick ? jpettit  10/07/17 12:09 AM
. * Re: can mame emulate 4 ways joystick ? Rygar9  10/07/17 12:36 AM
. * Re: can mame emulate 4 ways joystick ? Vas Crabb  10/07/17 05:33 AM
. * Re: can mame emulate 4 ways joystick ? jpettit  10/07/17 09:54 AM

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