Merge pull request #1947 from fewtarius/dev

Fix missing right trigger on AYANEO devices, switch mic input back to alsathread in retroarch.
This commit is contained in:
fewtarius 2023-08-19 12:49:57 -04:00 committed by GitHub
commit 7bc49c90a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View file

@ -7,7 +7,9 @@ input_y_btn = "2"
input_select_btn = "6" input_select_btn = "6"
input_start_btn = "7" input_start_btn = "7"
input_up_btn = "h0up" input_up_btn = "h0up"
input_up_axis = "-1"
input_down_btn = "h0down" input_down_btn = "h0down"
input_down_axis = "+1"
input_left_btn = "h0left" input_left_btn = "h0left"
input_right_btn = "h0right" input_right_btn = "h0right"
input_a_btn = "1" input_a_btn = "1"
@ -15,15 +17,18 @@ input_x_btn = "3"
input_l_btn = "4" input_l_btn = "4"
input_r_btn = "5" input_r_btn = "5"
input_l2_axis = "+2" input_l2_axis = "+2"
input_r2_axis = "+5"
input_l3_btn = "9"
input_r3_btn = "10" input_r3_btn = "10"
input_l_x_plus_axis = "+0" input_l_x_plus_axis = "+0"
input_l_x_minus_axis = "-0" input_l_x_minus_axis = "-0"
input_l_y_plus_axis = "+1" input_l_y_plus_axis = "+1"
input_l_y_minus_axis = "-1" input_l_y_minus_axis = "-1"
input_gun_trigger_mbtn = "1"
input_r2_axis = "+5"
input_gun_offscreen_shot_mbtn = "2"
input_left_axis = "-3"
input_right_axis = "+3"
input_l3_btn = "9"
input_r_x_plus_axis = "+3" input_r_x_plus_axis = "+3"
input_r_x_minus_axis = "-3" input_r_x_minus_axis = "-3"
input_r_y_plus_axis = "+4" input_r_y_plus_axis = "+4"
input_r_y_minus_axis = "-4" input_r_y_minus_axis = "-4"
input_gun_trigger_mbtn = "1"

View file

@ -149,6 +149,7 @@ cp -rf /usr/config/gmu/playlists/* /storage/.config/gmu/playlists/
### Switch back to alsathread ### Switch back to alsathread
sed -i 's~^audio_driver = .*$~audio_driver = "alsathread"~g' /storage/.config/retroarch/retroarch.cfg sed -i 's~^audio_driver = .*$~audio_driver = "alsathread"~g' /storage/.config/retroarch/retroarch.cfg
sed -i 's~^microphone_driver = .*$~microphone_driver = "alsathread"~g' /storage/.config/retroarch/retroarch.cfg
### Remove stale asound bits ### Remove stale asound bits
rm -f /storage/.config/asound* rm -f /storage/.config/asound*