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

    Setting command line mode key

    Scheduled Pinned Locked Moved Help and Support
    command linecommand-lineterminalkeyboard
    4 Posts 2 Posters 636 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
      Chuck_B
      last edited by

      I was wondering if i could change the key for switching to command line mode.
      By default to switch mode you have to press F4, but I have a mini wireless keyboard that doesn't have F1 ... F11 keys, so I'd like to change the key to do that

      Is it possibile to set a different key (or better a keys combination) for switching to command line mode?

      D 1 Reply Last reply Reply Quote 0
      • D
        dudleydes @Chuck_B
        last edited by

        @chuck_b You would need to edit the ES source code and recompile.

        I believe this is the line you would need to edit by replacing SDLK_F4 with the SDL keycode value for your preferred key. You can find a list here.

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

          Doing this I have to do it again every single time I update the system, right?

          D 1 Reply Last reply Reply Quote 0
          • D
            dudleydes @Chuck_B
            last edited by

            @chuck_b Yes, whenever you update all installed packages or just ES from the setup script.

            I would keep a copy of the new ES binary with the remapped quit key and then, after updating, you can overwrite the ES binary with your modded version, unless, of course, there is a new feature in ES that you desire, in which case, you would need to recompile.

            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.