From 81fc7d1c1b355f3b23544db1a4a99d6bdb3e6c2d Mon Sep 17 00:00:00 2001 From: icenine451 Date: Mon, 24 Jul 2023 15:30:37 -0400 Subject: [PATCH] Rebind L/R in PPSSPP on update. --- functions/post_update.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/functions/post_update.sh b/functions/post_update.sh index 621fd89b..c65bd9f2 100644 --- a/functions/post_update.sh +++ b/functions/post_update.sh @@ -222,6 +222,12 @@ post_update() { prepare_emulator "reset" "all" fi fi + if [[ $prev_version -le "071" ]]; then + # In version 0.7.1b, the following changes were made that required config file updates/reset or other changes to the filesystem: + # - Force update PPSSPP standalone keybinds for L/R. + set_setting_value "$ppssppcontrolsconf" "L" "1-45,10-193" "ppsspp" "ControlMapping" + set_setting_value "$ppssppcontrolsconf" "R" "1-51,10-192" "ppsspp" "ControlMapping" + fi # The following commands are run every time.