Skip to content

Commit

Permalink
feat(legion): Support hardware control on the Legion GO
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Nov 4, 2023
1 parent 5783ecf commit da6b18b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system_files/desktop/shared/usr/bin/bazzite-hardware-setup
Expand Up @@ -7,7 +7,7 @@ BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO)
FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO)

# SCRIPT VERSION
HWS_VER=12
HWS_VER=13
HWS_VER_FILE="/etc/bazzite/hws_version"
HWS_VER_RAN=$(cat $HWS_VER_FILE)

Expand Down Expand Up @@ -115,7 +115,7 @@ if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" || $IMAGE_NAME =~ "framegam
echo "Jupiter hardware detected, skipping further setup..."
else
echo "Generic device detected. Performing setup..."
if [[ ":ROG Ally RC71L_RC71L:AYANEO GEEK:AYANEO 2:AYANEO 2S:AOKZOE A1 AR07:G1619-04:" =~ ":$SYS_ID:" ]]; then
if [[ ":ROG Ally RC71L_RC71L:AYANEO GEEK:AYANEO 2:AYANEO 2S:AOKZOE A1 AR07:G1619-04:83E1:" =~ ":$SYS_ID:" ]]; then
echo "HandyGCCS supported handheld detected, enabling handycon & TDP control..."
systemctl enable --now handycon.service
sed -i 's/ENABLE_HARDWARE_CONTROL_ON_NON_DECK_HARDWARE=0/ENABLE_HARDWARE_CONTROL_ON_NON_DECK_HARDWARE=1/g' /etc/default/steam-hardware-control
Expand Down

0 comments on commit da6b18b

Please sign in to comment.