Skip to content

Commit

Permalink
Change panel type from external to internal for Ayn Loki devices
Browse files Browse the repository at this point in the history
Signed-off-by: Christophe Branchereau <[email protected]>
Signed-off-by: user131 <[email protected]>
  • Loading branch information
citral23 authored and user131 committed Apr 16, 2024
1 parent f657cb4 commit 95bd126
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions usr/share/gamescope-session-plus/device-quirks
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ fi
# AYN Loki Devices
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
# Dependent on a special --force-orientation option in gamescope
if ( gamescope --help 2>&1 | grep -e "--force-orientation" > /dev/null ) ; then
export GAMESCOPECMD="/usr/bin/gamescope \
-e \
--generate-drm-mode fixed \
Expand All @@ -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
Expand Down

0 comments on commit 95bd126

Please sign in to comment.