mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-30 03:32:36 +00:00
feat: Add support for new Hori Steam controller to HHD.
This commit is contained in:
parent
a0c786a763
commit
9dbb47ea8b
@ -51,6 +51,11 @@ if [[ $(echo "${switcheroo_state}" | grep -o 'Device:' | wc -l) -gt 1 ]]; then
|
||||
fi
|
||||
unset -v switcheroo_state
|
||||
|
||||
# HHD Support
|
||||
if ! /usr/libexec/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
|
||||
|
||||
if [[ "$XDG_SESSION_TYPE" == "wayland" ]]; then
|
||||
# https://github.com/Supreeeme/extest
|
||||
# Extest is a drop in replacement for the X11 XTEST extension.
|
||||
|
Loading…
x
Reference in New Issue
Block a user