From 17af0afd39705867f34cd16becc1c1106bd95381 Mon Sep 17 00:00:00 2001 From: Christophe Branchereau Date: Fri, 5 Apr 2024 17:07:43 +0200 Subject: [PATCH] Change panel type from external to internal for Ayn Loki devices Signed-off-by: Christophe Branchereau --- usr/share/gamescope-session-plus/device-quirks | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/usr/share/gamescope-session-plus/device-quirks b/usr/share/gamescope-session-plus/device-quirks index cc9a07b..72bfcd5 100644 --- a/usr/share/gamescope-session-plus/device-quirks +++ b/usr/share/gamescope-session-plus/device-quirks @@ -97,7 +97,7 @@ fi AYN_LIST="Loki Max:Loki Zero:Loki MiniPro" if [[ ":$AYN_LIST:" =~ ":$SYS_ID:" ]]; then # Dependent on a special --force-external-orientation option in gamescope - if ( gamescope --help 2>&1 | grep -e "--force-external-orientation" > /dev/null ) ; then + if ( gamescope --help 2>&1 | grep -e "--force-orientation" > /dev/null ) ; then export GAMESCOPECMD="/usr/bin/gamescope \ -e \ --generate-drm-mode fixed \ @@ -106,8 +106,7 @@ if [[ ":$AYN_LIST:" =~ ":$SYS_ID:" ]]; then --default-touch-mode 4 \ --hide-cursor-delay 3000 \ --fade-out-duration 200 \ - --force-panel-type external \ - --force-external-orientation left " + --force-orientation left " fi # Set refresh rate range and enable refresh rate switching export STEAM_DISPLAY_REFRESH_LIMITS=40,60