cross-posted from: https://feddit.it/post/23350094
what are your experiences using game controllers with linux, I’m especially interested in the xbox series s controller because it’s the one I have, but I’m also interested in other controllers. From my experience the latency is disappointing, but I have no way of proving it.
So, I primarily use this controller in bluetooth mode using xpadneo. There’s definitely noticeable latency, but in most games it’s fine, I played through a lot of games without bother… until I played Conker: Live and Reloaded. On the infamous race level, it took me like two days to pass it, and I only made some progress when i connected the cable and dropped BT. Even that was fine though, It was just one old game and just one level, there could be a number of things to blame for that. Come hollow knight, as the game got harder after beating Hornet, it quickly became apparent that I couldn’t get far without the cable, save for traversing the world, still, not that bad… until I got to fight radiance. It has been extremely frustrating, I tried it for days and eventually I started just doing a few attempts every few days, without any improvement, finding it hard to get to the second phase. Today I visited my parents and in the late evening decided to try it on a windows computer I left here, mind you, the last time I played was more than a week ago. So, I start the game, plug the same controller in, with the same cable, I beat Radiance on the fucking first try, with half health bar left…
It literally happened 10 minutes ago, I’m still riled up, this doesn’t make sense, this has to be latency, there is no way I got that better just like that, It is literally impossible.
So, after all that, I need to unfuck the latency of my controller someway… Ok, it’s fine on most games, but this situation is… frustrating


I would guess that you’ll normally find that (a) there will be higher latency (especially worst-case latency) on Bluetooth interfaces than USB interfaces:
According to this:
https://gamepadla.com/xbox-core-controller.html
You have average/max USB latency of 8.3 ms/12.23 ms.
You have average/max dongle latency of 8.88 ms/14.64 ms.
You have average/max Bluetooth latency of 12.98 ms/20.89 ms.
For the wireless protocols, I expect that the amount of interference where you are will also be a factor.
It looks at least at one point, there was an issue with those controllers not specifying the polling rate that they actually wanted. I don’t know if you have one of this particular generation, but you might try the specified workaround:
https://github.com/atar-axis/xpadneo/commit/15801c6c0421957190193fec3f371a353111c12e
It looks like the above patch is still present in current xpadneo, so I assume that the issue remains:
https://atar-axis.github.io/xpadneo/#troubleshooting
The Bluetooth LE settings shouldn’t be necessary for me anymore, I think the package I’m using for xpadneo already packages some settings. Inbefore, that issue would cause latency in the tenths of seconds (not even close to milliseconds) and was extremely noticeable