fix(gpd): Correct screen rotation on the GPD Win 2 (#781)

This commit is contained in:
Olav 2024-02-18 05:53:47 +01:00 committed by GitHub
parent c644dab359
commit f08e72be50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -147,6 +147,11 @@ elif [[ ":G1617-01:" =~ ":$SYS_ID:" ]]; then
echo "Adding panel orientation for GPD Win Mini"
NEEDED_KARGS+=("--append-if-missing=video=eDP-1:panel_orientation=right_side_up")
fi
elif [[ ":WIN2:" =~ ":$SYS_ID:" ]]; then
if [[ ! $KARGS =~ "video" ]]; then
echo "Adding panel orientation for GPD Win 2"
NEEDED_KARGS+=("--append-if-missing=video=eDP-1:panel_orientation=right_side_up")
fi
fi
if /usr/libexec/hardware/simpledeckytdp-supported-hardware; then