A PSOC4-based project for interfacing 6-button Sega megadrive pads to the Amiga CD32