distribution/packages/hardware/quirks/devices/Powkiddy RGB10/110-retroarch-joypad
2024-03-09 12:47:03 +00:00

11 lines
428 B
Bash
Executable file

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