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

    Best method for hot key remaps for Shader controls

    Scheduled Pinned Locked Moved Help and Support
    shader hotkeys
    3 Posts 2 Posters 395 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.
    • flagrant99F
      flagrant99
      last edited by flagrant99

      retroarch.cfg

      Applies next and previous shader in directory.

      input_shader_next = "m"
      input_shader_prev = "n"

      So I want to remap these guys to
      input_y + Hotkey
      input_a + Hotkey

      These are not currently mapped to a hot key in combo button press in librettro.

      My autoconfigs have
      input_load_state_btn = "5"
      input_state_slot_decrease_axis = "-0"
      input_state_slot_increase_axis = "+0"
      input_exit_emulator_btn = "9"
      input_save_state_btn = "4"
      input_enable_hotkey_btn = "8"
      input_menu_toggle_btn = "0"

      Can I add in autoconfig?
      maybe input_next_shader="1"?
      Or do I edit retroarch.cfg to some how handle hot keys?
      I can go into RGUI and set. It works. BUT.
      how should I save?

      I've gone into RGUI and mapped the new hot key binds, but not sure hot to save.
      Will these mess with my other default hotkey binds?
      I want those left alone.

      S 1 Reply Last reply Reply Quote 0
      • S
        sleve_mcdichael @flagrant99
        last edited by sleve_mcdichael

        @flagrant99 yeah, you'll want to set this in the autoconfig. To bind a controller button, you need to add the _btn suffix, like so:

        input_shader_next_btn = "{n}"
        input_shader_prev_btn = "{x}"
        

        ...where {n} and {x} are numbers that correspond to the controller's button assignments.

        (_axis binds an analog axis, and [no suffix] binds a keyboard key.)

        Add the input_shader_next_btn and input_shader_prev_btn lines and use the same numbers as your input_y_btn and input_a_btn settings, to use those buttons for the hotkey functions.

        flagrant99F 1 Reply Last reply Reply Quote 0
        • flagrant99F
          flagrant99 @sleve_mcdichael
          last edited by

          @sleve_mcdichael Thanks worked great.

          1 Reply Last reply Reply Quote 1
          • 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.