I am trying to do the same thing. I have built an arcade style controller with a joystick and buttons mapped to the GPIO pins. They act as keyboard keys and work great while playing roms. I just havent figured out how to map hotkeys with the keyboard. Hopefully someone else has done it and can help.
Reply To: Save/load state gpio