This RaspBerry GPIO Port Expansion PCB will allow you to easily install your GPIO cabling.
It has a joysticks / buttons installation legend that corresponds to the wiring diagram of the RecalBox distribution.