/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh
コントローラB=「J」
コントローラA=「K」
にするならば次の様に設定