TimFielder wrote: ↑
Thu Dec 28, 2017 4:53 pm
Do you have a schematic showing pinouts to the buttons?
Sorry, no I don't have any schematics. For my jukebox, I just connected each button to an unused GPIO pin (one button pin) and GND (the other button pin). I then used the Adafruit "retrogame" utility to map those GPIO pins to generate keyboard codes for the corresponding fruitbox keys.
In my setup for example, I had the left button connected between GPIO 7 and GND, so my retrogame.cfg contains the line (amongst others).
FYI, in future versions of fruitbox you will be able to assign buttons to GPIO inputs directly in the skin config file without using the retrogame utility.
Hope that helps,