Skip to content

Commit

Permalink
Ogu support, updated tm-joypad
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephenm64 committed Jan 22, 2023
1 parent 156ec7a commit 23faa2e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ThemeMaster/ThemeMaster
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ app_location="${app_location%ThemeMaster}"
# APP SETTINGS VARIABLES #
##########################
# ThemeMaster Reference
github_app_owner="JohnIrvine1433"
github_app_owner="Stephenm64"
github_app_repo="ThemeMaster"
current_app_version="4.3.0"
# Default app settings (overwritten by ThemeMaster.cfg)
Expand Down Expand Up @@ -152,6 +152,9 @@ function ExitApp() {
$sudo_prefix systemctl restart emustation
fi
clear > /dev/tty1
if [[ -e "/dev/input/by-path/platform-gou_joypad-event-joystick" ]]; then
$sudo_prefix graphics 1
fi
}

#
Expand Down Expand Up @@ -229,6 +232,8 @@ function InitLoader() {
param_device="oga"
elif [[ -e "/dev/input/by-path/platform-odroidgo3-joypad-event-joystick" ]]; then
param_device="ogs"
elif [[ -e "/dev/input/by-path/platform-gou_joypad-event-joystick" ]]; then
param_device="ogu"
elif [[ -e "/dev/input/by-path/platform-gameforce-gamepad-event-joystick" ]]; then
param_device="chi"
else
Expand All @@ -245,6 +250,9 @@ function InitLoader() {
#
# App initialisation
#
if [[ $param_device == "ogu" ]]; then
$sudo_prefix graphics 0
fi
SetColorScheme
dialog --clear
dialog --infobox "Initialisation... Please wait !" 5 50 >$ttyoutput
Expand Down
Binary file modified ThemeMaster/tm-joypad
Binary file not shown.

0 comments on commit 23faa2e

Please sign in to comment.