v1993 / evdevhook2

Cemuhook UDP server for devices with modern Linux drivers
GNU General Public License v3.0
25 stars 6 forks source link

Server won't start #24

Closed shadowgamer67890 closed 4 months ago

shadowgamer67890 commented 4 months ago

I wanted to see if I could get yuzu to pick up the DualShock 3's motion axes since they work nicely in RPCS3, and in order to do that here it seems a cemuhook server is needed, except it won't run so boo. Running ./evdevhook2 gets

Failed to start server: Unable to create socket: Address family not supported by protocol

That's the entire error. I really wish I had more to say, but I follow the build instructions and that's what's returned. Running Gentoo if it matters, as well as having had to symlink /usr/bin/valac-0.56 to /usr/bin/valac in order to get meson to find that Vala was indeed installed, but that's an issue with Gentoo's Vala packaging, so I seriously doubt that's what's wrong here.

It's not a major issue or anything, I have an actual Switch Pro Controller already and was just curious if I could use something else for fun.

shadowgamer67890 commented 4 months ago

Well that was short lived, fixed it with a lot of Googling and pattern spotting. Note to self, don't disable IPv6 in the kernel config just because you think you "don't need it"...

On the bright side it works, sorta, the DS3's six axes don't line up at all with the actual Switch gyro so it's only good for shakes and not precision cursors, but I'll call it good enough.