Merge pull request #2170 from sydarn/rk3566-updates

RGDS: set retroarch hotkey
This commit is contained in:
sydarn
2026-01-11 18:57:16 +01:00
committed by GitHub

View File

@@ -0,0 +1,11 @@
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2022-present JELOS (https://github.com/JustEnoughLinuxOS)
# Adapt retroarch joypad config for RG DS
if [ ! -f "/storage/joypads/retrogame_joypad.cfg" ]; then
cp /usr/share/libretro/autoconfig/retrogame_joypad.cfg /storage/joypads/
sed -i -r 's/input_enable_hotkey_btn.*/input_enable_hotkey_btn = "10"/' /storage/joypads/retrogame_joypad.cfg
fi