Anyway to configure two joystick mappings that use the same device name?
Anyone know how to have retroarch have two configurations for the same joystick model but on two different usb controllers? I have two joysticks (the common Dragon USB) but one is rotated because of space. When I configure one to account for the rotation the other is then backwards. Retroarch joystick directory only has one config file with the Dragon name and one button / axis mapping. So both joysticks use the same mapping. I need one map per joystick so it would have to be based on the device id and not name if this is even possible.
In retoarch-joypads I have DragonriseInc.GenericUSBJoystick.cfg, It uses a input_device = "DragonRise Inc. Generic USB Joystick". It has one set of input definitions but I need two, one for each joystick because one is rotated and up is left and down is right. Because they are addressed in the config by name they are not differentiated. Is it possible to have two configs and assign by device uuid or something?
Retropi 2.0 on rpi3 running latest kernel as of 2016-12-15.
edmaul69 last edited by
@jamesarm97 can you post a pic of the controller so i can understand it? Google search shows nothing for dragonrise usb controller except for posts on retropie including this one.
meleu last edited by
@jamesarm97 I think I've got what you're saying. And I think it's simple to solve. Let's consider that the rotated one is the player2, then your
retroarch-joypads/DragonriseInc.GenericUSBJoystick.cfgwill look like this:
# ... some configs ... #input_up_axis = "-1" #input_down_axis = "+1" #input_left_axis = "-0" #input_right_axis = "+0" input_player1_up_axis = "-1" input_player1_down_axis = "+1" input_player1_left_axis = "-0" input_player1_right_axis = "+0" input_player2_up_axis = "-0" input_player2_down_axis = "+0" input_player2_left_axis = "-1" input_player2_right_axis = "+1" # ... remaining configs ...
I mean, you have to hardcode the rotated axis for the player2. I'm not sure if these numbers will work for you, but I hope you get what I'm trying to say. ;-)