From fcf8eef12ca7c168b23606a4f1a6b5585bf3df44 Mon Sep 17 00:00:00 2001 From: Ryan McClelland Date: Sun, 5 Apr 2026 23:10:10 -0700 Subject: [PATCH] Fix ES input config dropping lefttrigger/righttrigger/thumbstick inputs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The map_emulationstation_joystick function was silently dropping lefttrigger, righttrigger, leftthumb and rightthumb inputs — they fell through to the *) return case despite being documented as supported. Add them to the passthrough case so they get written to es_input.cfg. Co-Authored-By: Claude Sonnet 4.6 --- .../emulationstation/configscripts/emulationstation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scriptmodules/supplementary/emulationstation/configscripts/emulationstation.sh b/scriptmodules/supplementary/emulationstation/configscripts/emulationstation.sh index fe840c1e1e..3cd13bd54b 100644 --- a/scriptmodules/supplementary/emulationstation/configscripts/emulationstation.sh +++ b/scriptmodules/supplementary/emulationstation/configscripts/emulationstation.sh @@ -54,7 +54,7 @@ function map_emulationstation_joystick() { rightbottom|rightshoulder) key="pagedown" ;; - up|right|down|left|start|select|x|y|leftanalogup|leftanalogright|leftanalogdown|leftanalogleft|rightanalogup|rightanalogright|rightanalogdown|rightanalogleft) + up|right|down|left|start|select|x|y|leftanalogup|leftanalogright|leftanalogdown|leftanalogleft|rightanalogup|rightanalogright|rightanalogdown|rightanalogleft|lefttrigger|righttrigger|leftthumb|rightthumb|hotkeyenable) key="$input_name" ;; a)