I am very thankful for all the work that is put into Recalbox, developers, community... thank you all!!! I'm running 4.1 unstable on a RPi3, been customizing my setup for several months now, I'm even using the composite out on a CRT TV with the latest firmware and the CD32 looks and sounds awesome in mode 2 (PAL 50hz interlaced).
Thank you Ratte and Voljega for this implementation. I hope many people enjoy this I followed Ratte's instructions, its easy and all works out of the box. Compilations are crazy! I intend to try Voljega's solution next for a deeper Amiga experience.
I know that the buttons of the CD32 pad can't be set as you wish yet, but I'd like to warn you of a behavior with dualshock3 (PS3) controller (Gasia clone), its the weirdest thing: when I have it wired through usb cable to the rpi, the button layout is nothing to do with the picture shown at first in Ratte's post, for instance the red CD32 button is mapped to my "select" DS3 button... etc. Almost everything is messed up. Up and down directions work with the left analog stick (hat d-pad is dead) but the unforgiving thing is that you can't go left or right, when you push that way, say, in a platformer, your character seems to stutter in that direction but it's impossible to advance.
Ok, I know that the picture is from a XBox controller and mapping may differ from a PS3 controller, but now comes the weird thing: when I have the controller paired using bluetooth (without usb cable nor bt dongle) almost all controls are right (not everything is perfect though). The hat d-pad wich didn't work wired, now does (but in some games, some directions trigger other buttons). The colour buttons seem to be more properly mapped. All in all, almost everything is playable this way through the joystick. And it still exits to ES through "L1".
I'm not asking for a solution, just informing I hope you keep your good work. By the way this was my first post ever so if anything's out of place please be gentle I'll be happy to make it right.