2 Oct 2017, 17:14

I did it. It works well with an Arduino (ATmega32u4, not an ATmega328 / 168).
You can also use a Teensy.

There are many sites to learn how to do this.
I used this lib :
https://github.com/MHeironimus/ArduinoJoystickLibrary
and an Arduino Pro Micro ATmega32U4 5V /16MHz (clone).

My goal is to use RGB leds inside buttons and illuminating this buttons with any colors i want.
Buttons will light just before an emulator is launched.
If this emulator use only 4 buttons, only 4 buttons will be illuminating like neogeo colors buttons.
It works but no time to finish it.
I used addressable RGB led
(WS2812 and/or APA106).

e.g.
https://www.youtube.com/watch?v=3JKofBaJCe4