logoalt Hacker News

ThatPlayertoday at 6:28 AM1 replyview on HN

I believe most of those work with controller drivers in the application (Dolphin Emulator or Steam/SDL) rather than the OS level. That's why the Windows solution requires Zadig to replace the HID driver.

On Linux instead of replacing the driver, you have to add an udev rule that allows applications to communicate with the USB device directly: https://github.com/ValveSoftware/steam-devices/blob/master/6... And you can see in this list, it's not the only controller with that requirement.

SteamOS includes this by default.


Replies

traderj0etoday at 7:11 AM

I did add that rule, which if I remember correctly was needed for it to work at all. But then the problem is input lag. Many recommend https://github.com/hannesmann/gcadapter-oc-kmod which the author only tested in Arch, and for whatever reason it didn't work on Ubuntu. Was printing that "Failed to acquire lock for USB device" line and then I think "Could not reset device", don't remember. Anyway seems like a hack.

This was for Slippi Melee, so even though I'm not super good at the game, the lag was too annoying.