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

    How to change the name of controllers?

    Scheduled Pinned Locked Moved Help and Support
    controllerbluetoothrasberry pi 4
    2 Posts 2 Posters 2.7k 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.
    • P
      PhtevenTheSecond
      last edited by PhtevenTheSecond

      I have 5 controllers total.
      4 of them are PS4 controllers and when they connect, they all have similar names.

      I was looking for a way to change the name so that i can have an easier time changing their order if needed.

      i used meleu's joystrick library linked below :

      https://github.com/meleu/RetroPie-joystick-selection

      i followed the installation and seems to work ok.

      then i found a thread linked below:
      https://retropie.org.uk/forum/topic/6624/change-controller-name

      from my understanding, adding a variable input_device_display_name
      in the file /opt/retropie/configs/all/retroarch-joypads "controller name.cfg"

      should allow you to set the name but it didn't work .

      i also changed it in the new location mentioned by the last user /opt/retropie/configs/all/retroarch/autoconfig/name-of-your-controller.cfg

      didn't seem to work either.

      the name remains the same as the file name. in this case, it's Logitech Logitech Cordless RumblePad 2

      Here is the file for the controller im testing things with. Its a logitech wireless controller.

      input_device = "Logitech Logitech Cordless RumblePad 2"
      input_device_display_name = "Logitech Controller"
      input_driver = "udev"
      input_enable_hotkey_btn = "8"
      input_r3_btn = "11"
      input_r3_btn_label = "Right Analog Button"
      input_r_y_minus_axis = "-3"
      input_r_y_minus_axis_label = "Right Analog Up"
      input_l_btn = "4"
      input_l_btn_label = "LB"
      input_load_state_btn = "4"
      input_r_y_plus_axis = "+3"
      input_r_y_plus_axis_label = "Right Analog Down"
      input_up_axis = "-1"
      input_left_axis = "-0"
      input_state_slot_decrease_axis = "-0"
      input_select_btn = "8"
      input_select_btn_label = "Back"
      input_r2_btn = "7"
      input_r2_btn_label = "RT"
      input_r_x_minus_axis = "-2"
      input_r_x_minus_axis_label = "Right Analog Left"
      input_l_y_plus_btn = "h0down"
      input_l_x_plus_btn = "h0right"
      input_right_axis = "+0"
      input_state_slot_increase_axis = "+0"
      input_l2_btn = "6"
      input_l2_btn_label = "LT"
      input_l_x_minus_btn = "h0left"
      input_r_x_plus_axis = "+2"
      input_r_x_plus_axis_label = "Right Analog Right"
      input_l3_btn = "10"
      input_l3_btn_label = "Left Analog Button"
      input_r_btn = "5"
      input_r_btn_label = "RB"
      input_save_state_btn = "5"
      input_l_y_minus_btn = "h0up"
      input_y_btn = "0"
      input_y_btn_label = "X"
      input_x_btn = "3"
      input_x_btn_label = "Y"
      input_menu_toggle_btn = "3"
      input_down_axis = "+1"
      input_start_btn = "9"
      input_start_btn_label = "Start"
      input_exit_emulator_btn = "9"
      input_b_btn = "1"
      input_b_btn_label = "A"
      input_reset_btn = "1"
      input_a_btn = "2"
      input_a_btn_label = "B"
      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        You can't change the name of the controllers, at least not the ones that show up in the selection script. They come from the OS and cannot be controlled from userspace. The input_device_display_name option is useful just inside RetroArch (shows just a friendly name for the device), so that won't help in the selection script.

        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.