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

Pages: 1

Mr. DoAdministrator
MAME Art Editor
Reged: 09/21/03
Posts: 4875
Loc: California
Send PM


VSmile inputs?
#382197 - 04/29/19 08:46 AM


Outside contributor sent in a scan of his VSmile pad... looks great!!

I want to add clickable buttons for the next update... I'm stuck.

I'm pretty sure this is what I'm looking for:

https://github.com/mamedev/mame/blob/master/src/devices/bus/vsmile/pad.cpp

Here is what I have for the UP/DOWN buttons:

<cpanel element="button" inputtag="JOY" inputmask="0x01">
<bounds y="130" x="648" width="76" height="76"/>
<color alpha="0.15" />
</cpanel>
<cpanel element="button" inputtag="JOY" inputmask="0x02">
<bounds y="130" x="816" width="76" height="76"/>
<color alpha="0.15" />
</cpanel>


But that's still not working.

I'm guessing it's something similar to NeoGeo, as this is a bus device... but I'm not sure what I'm actually missing.

Could someone teach me here?




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




Nightvoice
MAME Fan
Reged: 03/19/10
Posts: 883
Loc: The Room Next To You
Send PM


Re: VSmile inputs? new [Re: Mr. Do]
#382215 - 04/29/19 09:38 PM


Did you try

inputtag="root:ctrl1:joy"

or

inputtag="ctrl1:joy"

If one of those doesn't work, I'm at a loss. As with NeoGeo, I had to include the prefixes.



----------------------
I have officially retired from sucking at everything I do. Life is much easier now.

My MAME/MESS artwork files: https://drive.google.com/open?id=1ABxeKgNIrKlIsyck7dx4V241NFQDWAF4
Related screen shots: https://drive.google.com/open?id=1U5IbvbVzYW97PuOOQuocvZFE_YJz7WIn



Mr. DoAdministrator
MAME Art Editor
Reged: 09/21/03
Posts: 4875
Loc: California
Send PM


Re: VSmile inputs? new [Re: Nightvoice]
#382220 - 04/30/19 04:23 AM


> Did you try
>
> inputtag="rootjoy"
>
> or
>
> inputtag="ctrl1:joy"
>
> If one of those doesn't work, I'm at a loss. As with NeoGeo, I had to include the
> prefixes.


Bottom one... thank you!!!




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



Pages: 1

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

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