Reply To: Capture gamepad as keyboard in Linux shell

Home Forums RetroPie Project Controller Configuration in RetroPie Capture gamepad as keyboard in Linux shell Reply To: Capture gamepad as keyboard in Linux shell

#115996
Profile photo of targetboy
targetboy
Participant

No luck. xboxdrv did not see the gamepad. I have been trying to use joy2key, but that does not seem to be what I need either. I used this command with joy2key:

joy2key -terminal -axis 0 0 0 0 -thresh 0 0 0 0 -buttons q q q q q q q q

The result was a cursor after the joy2key startup text. I could press buttons and it would display “q”, so it is reading the joystick. The thing is, it does not start the slideshow until I press Ctrl-C to break out, at which point it is not reading the stick any more.

Is there some way I could start it in a different process, and end that process before exiting the script?

Sorry to be so ignorant. I am not very experienced with Linux.

Skip to toolbar