Mr. Do |
MAME Art Editor
|
|
|
Reged: 09/21/03
|
Posts: 4883
|
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.
|
|
|
Re: VSmile inputs?
[Re: Mr. Do]
#382215 - 04/29/19 09:38 PM
|
|
|
|
Mr. Do |
MAME Art Editor
|
|
|
Reged: 09/21/03
|
Posts: 4883
|
Loc: California
|
|
Send PM
|
|
|
Re: VSmile inputs?
[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.
|
|