Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: SteveB69 on October 14, 2019, 10:36:19 am

Title: Ledblinky - Totally stuck
Post by: SteveB69 on October 14, 2019, 10:36:19 am
I've just built my 1st arcade cab & am having trouble getting Ledblinky to do anything in Mame. I'm using Launchbox as my FE & Ledblinky flashes away within this but when I start a game, and I'm keeping it simple for now with just one game, asteroids, nothing lights up.

I feel it's probably down to my Port Labels but not sure?

In my Ledblinky Input Map screen I have
Port 1 - Port Label - P1B1 - Led Type - Single - Keycode - Keycode_A to light up when the game starts.

In my Colors.xml I have
[asteroid]
gamename=Asteroids (rev 4)
numPlayers=2
alternating=1
mirrored=1
tilt=1
cocktail=0
usesService=0
miscDetails=
P1NumButtons=3
P1Controls=Directional Buttons(2-way left/right)+joy2way
P1_BUTTON1=FIRE
P1_BUTTON2=THRUST
P1_BUTTON3=HYPER SPACE
P1_JOYSTICK_LEFT=Rotate Left
P1_JOYSTICK_RIGHT=Rotate Right

I changed P1_BUTTON=FIRE to P1B1 but it didn't make the button light. I really don't know what I'm doing, should I be changing stuff within the mame. cfg folder where I have the 10 games I have listed in seperate files?
I've followed the 2 video guides on YouTube but I can't seem to get it working. Really appreciate any help please.
I'm running Mame 0.214.
Title: Re: Ledblinky - Totally stuck
Post by: JudgeRob on October 14, 2019, 05:22:42 pm
Why do you have p1b1 set to keycode A?  If you are using MAME defaults, it is probably Left Alt.
Title: Re: Ledblinky - Totally stuck
Post by: SteveB69 on October 14, 2019, 07:22:56 pm
I have no idea JudgeRob, I don't really know what the keycodes are for so I just assigned them in numerical order to my button number?
Title: Re: Ledblinky - Totally stuck
Post by: JudgeRob on October 14, 2019, 08:52:40 pm
Try changing your P1B1 keycode to "keycode_LCONTROL"
Title: Re: Ledblinky - Totally stuck
Post by: arzoo on October 14, 2019, 09:27:58 pm
SteveB69 - I've responded to you via email but JudgeRob is correct, your input codes don't match how you have mame configured. For example, your Asteroids cfg file has P1_BUTTON1 assigned to JOYCODE_1_XAXIS_LEFT_SWITCH. So you would need to set the input code for your P1B1 button to JOYCODE_1_XAXIS_LEFT_SWITCH. Also keep in mind that the Port Labels don't have anything to do with which ports light up, it's only the input codes that matter. This support link (https://ledblinky.net/Support.htm#LEDBlinkyMAMELogic) might help.
Title: Re: Ledblinky - Totally stuck
Post by: SteveB69 on October 15, 2019, 07:03:25 am
Thanks arzoo & JudgeRob for your help. - Still not working.
I've changed the generate input map as in the attached & I've checked in Mame that those three buttons are the ones Mame is using.

In the ledblinky troubleshooter it says I should have JOYCODE_1_XAXIS_LEFT_SWITCH - But I don't see how to add the _XAXIS_LEFT_SWITCH into the map generator?

Strangely though my Player One button is lighting up when I open Asteroids & then staying lit during game play...




Title: Re: Ledblinky - Totally stuck
Post by: SteveB69 on October 15, 2019, 07:12:06 am
On a side note can I ask, rather than keep opening up Launchbox to test things in Mame can I just launch Mame direct & have ledblinky work with it?

Do I need to add something to my Mame shortcut properties box or does running ledblinky.exe which then sits in my system tray make it work?