I assume your using retropie. If you stick the we card in computer, there should be a config file for attract mode that you can edit. I would probably add keyboard commands, then stick it back in the pi and use the keyboard to navigate the config (tab) ui and map them to your controller.?