Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change panel type from external to internal for Ayn Loki devices #83

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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