mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Merge pull request #2170 from sydarn/rk3566-updates
RGDS: set retroarch hotkey
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user