Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Ledblinky - Totally stuck  (Read 2099 times)

0 Members and 1 Guest are viewing this topic.

SteveB69

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:December 01, 2019, 12:20:41 pm
  • I want to build my own arcade controls!
Ledblinky - Totally stuck
« 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.

JudgeRob

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 468
  • Last login:March 05, 2024, 10:55:50 pm
    • forum.arcadecontrols.com/index.php/topic,149265.120.html
Re: Ledblinky - Totally stuck
« Reply #1 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.

SteveB69

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:December 01, 2019, 12:20:41 pm
  • I want to build my own arcade controls!
Re: Ledblinky - Totally stuck
« Reply #2 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?

JudgeRob

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 468
  • Last login:March 05, 2024, 10:55:50 pm
    • forum.arcadecontrols.com/index.php/topic,149265.120.html
Re: Ledblinky - Totally stuck
« Reply #3 on: October 14, 2019, 08:52:40 pm »
Try changing your P1B1 keycode to "keycode_LCONTROL"

arzoo

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2092
  • Last login:April 14, 2024, 11:15:11 am
  • Robots WILL kill you.
    • LEDBlinky
Re: Ledblinky - Totally stuck
« Reply #4 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 might help.
Robots will kill you.



Arcade Addiction

SteveB69

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:December 01, 2019, 12:20:41 pm
  • I want to build my own arcade controls!
Re: Ledblinky - Totally stuck
« Reply #5 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...





SteveB69

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:December 01, 2019, 12:20:41 pm
  • I want to build my own arcade controls!
Re: Ledblinky - Totally stuck
« Reply #6 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?