Skip to content

This script monitors connected PS4 and PS5 gamepad devices and disconnects the Bluetooth connection if specific button combinations are detected (Home and Triangle buttons).

License

Notifications You must be signed in to change notification settings

thekk1/bluetooth-ds4-ds5-workaround

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

bazzite-bluetooth-ds4-ds5-workaround

Description

Workaround for ValveSoftware/steam-for-linux#8678

This script monitors connected PS4 and PS5 gamepad devices and disconnects
the Bluetooth connection if specific button combinations are detected (Home and Triangle buttons).
The script handles background processes for each device and maintains a record of process IDs
to ensure proper cleanup of processes associated with devices that are no longer present.

Usage

[sudo] ./bazzite-bluetooth-ds4-ds5-workaround [-d] [--install] [--uninstall]
-d: Enable debug mode
--install: Install and enable the systemd service
--uninstall: Uninstall the systemd service

About

This script monitors connected PS4 and PS5 gamepad devices and disconnects the Bluetooth connection if specific button combinations are detected (Home and Triangle buttons).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages