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



  • 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"


  • Global Moderator

    @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 =
    


  • @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?


  • Global Moderator

    @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).



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



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.