Controller configuration per system and finding device index number.
-
In /opt/retropie/configs/all/retroarch.cfg it says
Device IDs are found in libretro.h.
Does anyone know where libretro.h is located?
Is there a way i could have searched for this file? I tried,
find / -name libretro.h -print but it said permission was denied on all results and then, i tried this logged in as root and it showed no results.
Thanks for any help,
Matt.
-
-
@BuZz Do you know where is is located on a retropie 3.8 device?
-
It isn't - it's part of the source.
-
@BuZz # 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
So then, where it says device IDs above - it's not talking about controllers on my system?
-
Please format your posts - see https://retropie.org.uk/forum/topic/3/read-this-first
These are the ids used internally by retroarch afaik - perhaps it would just be easier to explain what you are trying to do ?
-
'# 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 =I read that and assumed that I could order the player number of my controllers. It does look like that's what it is suggesting.
I became sidetracked when i was searching to see if there is anyway to have a controller specific configuration per system - do you know if there is?
Matt.
-
@matalog in the documentation:
https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration
-
That doesn't seem to have all the information required - it doesn't mention how to find your selected joypads index - do you know how?
-
What i am looking to do is have my wii u pro controller use different x,y,a,b button number assignments from my ps3 pads - because they are numbered differently on the devices - both on the NES.
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.