I don't know if I'm missing something here so I figured I'd ask. I'm using the LEDBlinky plugin for Mala. I generated the input map and my controls light up based on the game selected. However, I noticed the trackball lights up for analog stick games, even though it's not mapped in MAME. Is there a way to only have it light up for trackball games and not analog stick games?
Further Info:
I have the mouse mapped to MOUSECODE_1_ANALOG_X|MOUSECODE_1_ANALOG_Y in the input map. I don't see any other selections that'd pertain to a trackball.
DaveMMR,
Here's what I think is going on - Mame's default codes for analog sticks include the mouse codes:
P1_AD_STICK_X=|JOYCODE_1_ANALOG_X|MOUSECODE_1_ANALOG_X|KEYCODE_LEFT|JOYCODE_1_LEFT
P1_AD_STICK_X_EXT=|JOYCODE_1_ANALOG_X|MOUSECODE_1_ANALOG_X|KEYCODE_RIGHT|JOYCODE_1_RIGHT
You can solve the LED problem one of two ways; Edit the Control-Input_mame.ini (in the LEDBlinky folder) and remove the mouse codes from the analog stick entries, OR remap the controls in mame for "All Games" so that the mouse is not used for analog joysticks.
arzoo