Odroid N2 C4 GPIO joystick configuration - EmuELEC/EmuELEC GitHub Wiki
The Odroid N2 and Odroid C4 can be configured to use GPIO, specially useful for arcade cabinets.
Thanks to damoon (from the EmuELEC Discord) for the illustration:
"Made a quick update for GPIO cabling layout to easily solve the mono GUID on ODroids C4 and N2. With this cabling you only need to use the _joystick dtb and then apply both of the .ini modifications described in : https://forum.odroid.com/viewtopic.php?f=91&t=40728, P1 is green, P2 is blue, configure P1 then P2 in ES"