Here is a view of the electronics. It needs to be tidied-up but it works very well... It is based around an Arduino board that emulates a Playstation game-port to talk to a Logitech wireless gamepad.