MAMEWorld >> MAME Artwork: Official
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Mr. DoAdministrator
MAME Art Editor
Reged: 09/21/03
Posts: 4744
Loc: California
Send PM
Re: Stuck
11/24/20 08:09 PM


> Anybody know what input tag/mask I use for the Donkey Kong (dkong) joystick? I've
> tried P1, P2, IN0, IN1, IN2, DSW0, DSW2 and everything else referenced in the driver
> with no luck. The method used in the new ddragon file worked great for Pac Man and
> all of its variants, but here it doesn't work. It'd be great to know where I can look
> for this info for other games.


https://github.com/mamedev/mame/blob/563...dkong.cpp#L1051

So we have to reference dkong_in0_4 for the joystick and the one button, so the inputport should be IN0

https://github.com/mamedev/mame/blob/563.../dkong.cpp#L948

And we have to reference dkong_in2 for the start buttons and coin, so the inputport should be IN2

https://github.com/mamedev/mame/blob/563.../dkong.cpp#L996

Unable to test at the moment, but those should be correct for dkong.



RELAX and just have fun. Remember, it's all about the games.








Entire thread
Subject Posted by Posted on
* Stuck Nightvoice 11/24/20 06:40 PM
. * Re: Stuck 7n004  11/29/20 02:51 AM
. * Re: Stuck Nightvoice  11/29/20 03:13 AM
. * Re: Stuck Mr. DoAdministrator  11/24/20 08:09 PM
. * Re: Stuck Nightvoice  11/24/20 10:29 PM
. * Re: Stuck Nightvoice  11/29/20 01:23 AM
. * Re: Stuck Mr. DoAdministrator  11/29/20 01:42 AM

Extra information Permissions
Moderator:  Mr. Do 
1 registered and 6 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 271