distribution/packages/hardware/quirks/devices/Powkiddy RGB10/110-retroarch-joypad

12 lines
428 B
Text
Raw Normal View History

#!/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