libretro / Lakka-LibreELEC

Lakka is a lightweight Linux distribution that transforms a small computer into a full blown game console.
https://www.lakka.tv
1.73k stars 286 forks source link

autoconfig conflict between two Joysticks (not able to change the autoconfig directory because its a read only file system) #1908

Closed Tesirfsm closed 9 months ago

Tesirfsm commented 9 months ago

Not sure if this belongs into pull requests or issues (I'm sorry in advance)

This happens because there are two conflicting autoconfig files in the autoconfig directory of Retroarch (The DragonRise_N64.cfg and Dragonrise_Inc_generic_joystick.cfg) because they share the same usb id or something. To fix this on the desktop version of Retroarch I can simply delete the DragonRise_N64.cfg file and paste a fitting config for the actual Joystick (see config text below). However this is not possible on Lakka through SSH because /etc/retroarch-joypad-autoconfig/udev is a read only file system.

The working config:

input_device = "DragonRise Inc.   Generic   USB  Joystick"

input_driver = "udev"

input_vendor_id = 121

input_product_id = 6

#########

input_x_btn = "0"

input_a_btn = "1"

input_b_btn = "2"

input_y_btn = "3"

input_l_btn = "4"

input_r_btn = "5"

input_l2_btn = "6"

input_r2_btn = "7"

input_select_btn = "8"

input_start_btn = "9"

input_l3_btn = "10"

input_r3_btn = "11"

input_up_btn = "h0up"

input_down_btn = "h0down"

input_left_btn = "h0left"

input_right_btn = "h0right"

input_l_x_plus_axis = "+0"

input_l_x_minus_axis = "-0"

input_l_y_plus_axis = "+1"

input_l_y_minus_axis = "-1"

input_r_x_plus_axis = "+2"

input_r_x_minus_axis = "-2"

input_r_y_plus_axis = "+3"

input_r_y_minus_axis = "-3"

#########

input_x_btn_label = "1"

input_a_btn_label = "2"

input_b_btn_label = "3"

input_y_btn_label = "4"

input_l_btn_label = "L"

input_r_btn_label = "R"

input_l2_btn_label = "L2"

input_r2_btn_label = "R2"

input_select_btn_label = "Select"

input_start_btn_label = "Start"

input_l3_btn_label = "L3"

input_r3_btn_label = "R3"

input_up_btn_label = "D-Pad Up"

input_down_btn_label = "D-Pad Down"

input_left_btn_label = "D-Pad Left"

input_right_btn_label = "D-Pad Right"

input_l_x_plus_axis_label = "Left Analog X+"

input_l_x_minus_axis_label = "Left Analog X-"

input_l_y_plus_axis_label = "Left Analog Y+"

input_l_y_minus_axis_label = "Left Analog Y-"

input_r_x_plus_axis_label = "Right Analog X+"

input_r_x_minus_axis_label = "Right Analog X-"

input_r_y_plus_axis_label = "Right Analog Y+"

input_r_y_minus_axis_label = "Right Analog Y-"
Tesirfsm commented 9 months ago

nevermind. I rtfm'ed and now know that /tmp exists