distribution/packages/hardware/quirks/devices/Powkiddy RGB10/075-dpad-volbright
sydarn 0078da3bcb rgb10,oga-be: revamp controls
Remove trigger happy ogabe, rgb10

RGB10 d-pad volume and brighness control

Fix userspace mapping for oga-be and rgb10

Updated oga-be and rgb10 retroarch joypad

Update gamecontrollerdb.

drastic and ppsspp mapping, ppsspp worked once then broke ?
2024-03-06 19:59:10 +01:00

20 lines
436 B
Bash
Executable file

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
. /etc/profile
DPAD_EVENTS=$(get_setting key.dpad.events)
if [ -z "${DPAD_EVENTS}" ]
then
set_setting key.dpad.events 1
fi
KEY_FUNC_A=$(get_setting key.function.a)
if [ -z "${KEY_FUNC_A}" ]
then
set_setting key.function.a BTN_SELECT
fi
if [ "$(systemctl is-active input)" = "active" ]
then
systemctl restart input
fi