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

    input_libretro_device parameter in retroarch.cfg

    Scheduled Pinned Locked Moved Help and Support
    retroarch cfglibrettodevicecontrollerinputlibretro
    5 Posts 2 Posters 2.1k 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.
    • TimZettT
      TimZett
      last edited by

      Does anyone know what this parameter specifies:

      input_libretro_device_p1 = "5"
      

      I'm aksing because for my player 1 device entry, it's the only one with the value "5", while for all the other player devices it has "1"
      Hence I'm wondering what might be the difference between "5" and "1"

      Linux retropie 4.4.8, running on a Raspberry Pi 3 B+. ROMS outsourced to USB stick formatted with exFat, 32 GB Micro SD, 2 A power supply, no overclocking

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

        @TimZett It's the type of device mapped for P1 - you can configure it from the Input menu, under each player's sub-menu

        
        # Sets which libretro device is used for a user.
        # Devices are indentified with a number.
        # This is normally saved by the menu.
        # Device IDs are found in libretro.h.
        # These settings are overridden by explicit command-line arguments which refer to input devices.
        # None: 0
        # Joypad (RetroPad): 1
        # Mouse: 2
        # Keyboard: 3
        # Generic Lightgun: 4
        # Joypad w/ Analog (RetroPad + Analog sticks): 5
        # Multitap (SNES specific): 257
        # Super Scope (SNES specific): 260
        # Justifier (SNES specific): 516
        # Justifiers (SNES specific): 772
        
        # input_libretro_device_p1 =
        # input_libretro_device_p2 =
        # input_libretro_device_p3 =
        # input_libretro_device_p4 =
        # input_libretro_device_p5 =
        # input_libretro_device_p6 =
        # input_libretro_device_p7 =
        # input_libretro_device_p8 =
        
        TimZettT 1 Reply Last reply Reply Quote 0
        • TimZettT
          TimZett @mitu
          last edited by

          @mitu Oh I see. So as far as I understand it, my PS3 controller number 1 is configured to have both the D-Pad and the analog sticks, which is in fact the case for a PS3 controller.
          However the other PS3 controllers (I have 3 altogether) are configured as if they would only have a D-Pad, so rather like a PS2 controller.
          Is that right what I assume?

          Linux retropie 4.4.8, running on a Raspberry Pi 3 B+. ROMS outsourced to USB stick formatted with exFat, 32 GB Micro SD, 2 A power supply, no overclocking

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

            @TimZett It depends on the games you're playing. I think some PS1 titles wouldn't work with the D-Pad + analog setting (https://retropie.org.uk/docs/Playstation-1/#analog-controller-type), but I'm not sure if it would otherwise negatively impact other games/systems if they're all set to D-Pad + Analog (and you always use the same PS3 controllers).

            TimZettT 1 Reply Last reply Reply Quote 0
            • TimZettT
              TimZett @mitu
              last edited by

              @mitu Thank you.
              For now I didn't find any game title which behaved unresponsive, so I'll keep it on 5 for now.

              Linux retropie 4.4.8, running on a Raspberry Pi 3 B+. ROMS outsourced to USB stick formatted with exFat, 32 GB Micro SD, 2 A power supply, no overclocking

              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.