Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1580
    Gustav Johansson
    Participant

    Hi!

    Is there a way to exit the emulators using a terminal command?

    I have a button connected to the gpio and im able to run terminal commands in the background but I don’t know any command to exit the emulators.

    Are there one or perhaps a more simply method?

    Thank you!

    #1592
    petrockblog
    Keymaster

    Maybe this is what you are looking for: http://tjjr.fi/sw/python-uinput/

    To exit the emulators you need to simulate the press of the escape (“ESC”) key.

    #1598
    Gustav Johansson
    Participant

    Thank you! I will look into that.

    #1608
    Gustav Johansson
    Participant

    I can’t install python-uinput it seems, don’t know what’s wrong.

    How does your gpio adapter button work? Is the sourcecode available?

    #1609
    petrockblog
    Keymaster

    The GPIO adapter can be used with SNESDev (https://github.com/petrockblog/SNESDev-RPi), which makes use of the UInput kernel module.

    #1649
    Gustav Johansson
    Participant

    The button worked without any problems, thank you!
    I have an unrelated question, thought it was better to use this thread than create a new one…
    I disabled autostart of emulationstation and did instead a small python app which ask to start emulationstation or not. The problem is that it start emulationstation from root instead of /home/pi.
    Is there a command to start emulationstation with a specific user?

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.