RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Exclusive buttons for hotkeys in Raspberry case?

    Scheduled Pinned Locked Moved Help and Support
    hotkey mappinghotkeysstate save
    3 Posts 2 Posters 524 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Carcayu
      last edited by Carcayu

      I have an arcade cabinet, with 2 players layout and no hotkeys combination but exclusive buttons for exit, pause etc. Those buttons are next to the coin door and a everything is connected with a pcb that transform button pushes in keypad signnals.

      I want to do the same with the Raspberry with retropie and crt for console games that I have, putting buttons in the case for exit, save states etc and different controllers depending on the system without hotkeys (retroflag snes pad, retrobit genesis six buttons pad, etc). I see It and honestly, dont know how It is posible:

      Since I thought you can only save states or exit using the first controller, but It seems theres like a "control 0" mapping in the video and, no mattter what controller you use, theres always the possibility to push buttons in the case for exit etc.

      How can It be possible? Maybe using a keyboard in combination with the controllers?

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        @Carcayu said in Exclusive buttons for hotkeys in Raspberry case?:

        How can It be possible? Maybe using a keyboard in combination with the controllers?

        Could be mapped to a keyboard and configured the KB input in conjunction with P1, but most likely - if the buttons are connected via GPIO - it maps button presses to a script that stops the emulator. Mapping can be easily done via a python script or a ready made solution like GPioneer.

        You can also use GPioneer in conjunction with RetroArch's network control interface (see here), which enables you to send commands to a running RetroArch instance (Pause/Save/Exit, etc.). Of course, this only works when using RetroArch, for other emulators it might be possible to simulate a keyboard press to send a certain command.

        1 Reply Last reply Reply Quote 1
        • C
          Carcayu
          last edited by

          mmm, it seems a little more complicated that I though. I will check all your info. Thanks a lot mitu!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.