Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • Gustav Johansson
    Participant
    Post count: 8

    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!

    petrockblog
    Keymaster
    Post count: 1827

    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.

    Gustav Johansson
    Participant
    Post count: 8

    Thank you! I will look into that.

    Gustav Johansson
    Participant
    Post count: 8

    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?

    petrockblog
    Keymaster
    Post count: 1827

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

    Gustav Johansson
    Participant
    Post count: 8

    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)
  • You must be logged in to reply to this topic.