LEDBlinky question!
Can you use the "Always active" feature outside of anything <default>?
I obviously have defaults set for non mame emulators, and then a default set inside of mame in the controls editor. But I want to light 4 buttons blue for Player 2, JUST for tron. (They are behind my tron joystick and it would illuminate the translucent joystick nicely!) But, anytime I in the controls editor I set a button to blue, it doesn't let me check always active as it's dimmed and from what I see, always active is only available in defaults.
If you can't do it via always active, is there another trick that might work to get certain buttons to light up just for one rom and stay on?
Thank you!!!
Best,
Matt Riggins
That is correct, the "Always Active" option can only be used for the <default> control configuration.
Option 1 - Trick LEDBlinky into thinking Tron has additional buttonsFirst manually edit your Controls.ini file and add the four buttons to the Tron section. The trick here is to use the correct buttons - this would depend on the keycodes assigned to those buttons and your mame configuration. For example, if one of those buttons is mapped to KEYCODE_C (and you haven't remapped that button in the mame setup), then the mame default for KEYCODE_C = P1_BUTTON7. So you would add P1_BUTTON7 to the Tron section in Controls.ini like this:
P1_BUTTON7=Always On Blue Button
The value on the right side of the "=" is the button action and in this case it doesn't matter what you put there.
Next you'll have to use the LEDBlinky Controls Editor and from the Import MAME menu, import "Tron". From there you should see the new button(s) (in this example it would be P1_BUTTON7) and you can edit each button and set the color.
Here's where I see a problem - if the four buttons are mapped to keycodes that are not used by player 1 and since Tron is a single player game (alternating), then you won't be able to add them to Tron. If that's the case, the only other option I can think of is to use animation files;
Option 2 - Use single frame animationsUsing the Animation Editor, create a single frame animation that just lights the four buttons and save it as "tron.lwax". Then put that animation in the ..\LEDBlinky\lwa\GameSpecific\GamePlay folder. Next create a second single frame animation that doesn't light ANY buttons and save it as "stub.lwax" (it doesn't matter what name you give it). Then from the LEDBlinky Config app, set the "Game Play Animation" to stub.lwax. The reason you need the stub animation (which doesn't light anything) is because LEDBlinky won't use the game specific animation (tron.lwax in this example) unless a default Game Play animation is also specified - but you don't want any additional buttons to light up for any other games. Theoretically, the stub animation should run but not do anything. I've never tried this so I can't guarantee it will work, but it's worth a try!