fix(bazzite-steam): correctly add the HHD steam controller on non valve hardware (#1863)

the check used the old path to the valve-hardware check
This commit is contained in:
HikariKnight 2024-11-13 17:36:24 +01:00 committed by GitHub
parent bc8cc7d704
commit 47b098ed0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,7 @@ if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" ]]; then
DECK_OPTION="-steamdeck"
# HHD Support
if ! /usr/libexec/valve-hardware; then
if ! /usr/libexec/hwsupport/valve-hardware; then
export SDL_GAMECONTROLLERCONFIG="060000000d0f00009601000000000000,Steam Controller (HHD),a:b0,b:b1,x:b2,y:b3,back:b6,guide:b8,start:b7,leftstick:b9,rightstick:b10,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,righttrigger:a5,paddle1:b13,paddle2:b12,paddle3:b15,paddle4:b14,misc2:b11,misc3:b16,misc4:b17,crc:ea35,"
fi