ValveSoftware / steam-devices

List of devices Steam and SteamVR will want read/write permissions on, to help downstream distributions create udev rules/etc
MIT License
153 stars 43 forks source link

Request: Add udev rules to increase polling rate of dualshock 4 controllers over bluetooth #37

Open AtilaSaraiva opened 2 years ago

AtilaSaraiva commented 2 years ago

I was experiencing very high latency playing with my dualshock 4 controller farther than normal from my computer, and googled possible solutions to this problem. While doing that I stumbled upon this reddit post, which suggests the usage of a udev rule to increase the polling rate for data from 4ms to 1ms.

This really solved my problem and the input lag was reduced significantly. Can those rules be added? I can make the PR myself, but I'm not so sure how to adapt the udev rules to the different dualshock 4 models.

Thanks for everything Valve devs, you folks are awesome.

kisak-valve commented 2 years ago

Hello @AtilaSaraiva, there's no particular reason why this should be a steam-devices specific change. It is my opinion that this issue should be evaluated by the udev maintainers (https://github.com/systemd/systemd/issues ?) or on the kernel side if this is the ideal setting for the hardware.

AtilaSaraiva commented 2 years ago

hm, I partially agree, but I do think that this is somewhat important for the steam ecossystem. I will try creating an issue there though, who knows, it might be adopted quickly.