Merge pull request #2147 from sydarn/rg-arc-ppsspp

ARC: fix ppssp mapping
This commit is contained in:
sydarn
2026-01-01 16:46:08 +01:00
committed by GitHub

View File

@@ -119,3 +119,36 @@ KEY_TILT = SDLK_t 0 0
END
EOF
fi
# PPSSPP controls
SOURCE_DIR="/usr/config/ppsspp"
CONF_DIR="/storage/.config/ppsspp"
# Check if conf dir exists
if [ ! -d "${CONF_DIR}" ]
then
cp -rf ${SOURCE_DIR} ${CONF_DIR}
CONTROLS_INI="${CONF_DIR}/PSP/SYSTEM/controls.ini"
cat <<EOF >${CONTROLS_INI}
[ControlMapping]
Up = 10-19
Down = 10-20
Left = 10-21
Right = 10-22
Cross = 10-190
Circle = 10-189
Square = 10-188
Triangle = 10-191
Start = 10-197
Select = 10-196
L = 10-193
R = 10-192
An.Up = 10-4003
An.Down = 10-4002
An.Left = 10-4001
An.Right = 10-4000
Pause = 10-4,10-106
Save State = 10-4010
Load State = 10-4008
EOF
fi