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

7n004
MAME Fan
Reged: 01/11/19
Posts: 30
Send PM
Re: Stuck
11/29/20 02:51 AM


Inputraw method, really hard stuff to deal with!
You can go baldy with that. It should be a lua script or something to make mame echo the raw values while you press them in the terminal or screen, it would help A LOT!!

To find your default "defstat" or "inputmask" you take a look at the CPS2 driver for instance starting at L992

Look at "IPT_JOYSTICK_RIGHT" for player 1, you have '0x0001' for right, '0x0002' for left, etc. Add all those 4 values for right, left, down, up or 1 + 2 + 4 + 8 = 15, 15 hexadecimal is f or 0xf.

Do the same for player 2, 100 + 200 + 400 + 800 = f00

There you have it.

Sorry, the forum it's not helping today.







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 8 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 670