@JRDIBBS Sorry for the delay, my computer decided it didn’t want to USB any more, so had to fix that before i could test my joystick LED.
It seems to work! Joystick lights up, and changes upon directional input!
Using the following definitions and index:
Spoiler
//ON BUTTON STATE
#define LED_JOY_COLOR_ON 255,0,255
#define LED_P1_COLOR_ON 0,0,0
#define LED_P2_COLOR_ON 0,0,0
#define LED_P3_COLOR_ON 0,0,0
#define LED_P4_COLOR_ON 0,0,0
#define LED_K1_COLOR_ON 0,0,0
#define LED_K2_COLOR_ON 0,0,0
#define LED_K3_COLOR_ON 0,0,0
#define LED_K4_COLOR_ON 0,0,0
#define LED_SELECT_COLOR_ON 0,0,0
#define LED_HOME_COLOR_ON 0,0,0
#define LED_START_COLOR_ON 0,0,0
//OFF BUTTON STATE
#define LED_JOY_COLOR_OFF 0,255,0
#define LED_P1_COLOR_OFF 0,0,0
#define LED_P2_COLOR_OFF 0,0,0
#define LED_P3_COLOR_OFF 0,0,0
#define LED_P4_COLOR_OFF 0,0,0
#define LED_K1_COLOR_OFF 0,0,0
#define LED_K2_COLOR_OFF 0,0,0
#define LED_K3_COLOR_OFF 0,0,0
#define LED_K4_COLOR_OFF 0,0,0
#define LED_SELECT_COLOR_OFF 0,0,0
#define LED_HOME_COLOR_OFF 0,0,0
#define LED_START_COLOR_OFF 0,0,0
//LED INDEX
#define LED_P4 0xFF
#define LED_P4_B 0xFF
#define LED_P3 0xFF
#define LED_P3_B 0xFF
#define LED_P2 0xFF
#define LED_P2_B 0xFF
#define LED_P1 0xFF
#define LED_P1_B 0xFF
#define LED_JOY 0
#define LED_K4 0xFF
#define LED_K4_B 0xFF
#define LED_K3 0xFF
#define LED_K3_B 0xFF
#define LED_K2 0xFF
#define LED_K2_B 0xFF
#define LED_K1 0xFF
#define LED_K1_B 0xFF
#define LED_SELECT 0xFF
#define LED_SELECT_B 0xFF
#define LED_HOME 0xFF
#define LED_HOME_B 0xFF
#define LED_START 0xFF
#define LED_START_B 0xFF
#define LED_COUNT 0xFF
That is with only the joystick LED plugged in, the chain of J2s wasn’t even plugged in.
Interestingly, if I plug the chain of J2s into the adaptor and use the same code it doesn’t seem to play ball… Although everything should be off except the joystick. everything lights up =/
It would appear that the idle animation kicks in with everything, and then when I move the joystick the joystick LED works correctly, but all the button LEDs simply stop their idle animation where they are. Also when I move the joystick one of the LEDs on P1 activates as well. Finally if I interupt the idle animation with a button press, everything goes in techno epilepsy mode and starts flashing different colours while the button is pressed.
I’m getting more and more confused with all this =/