flathub / net.supertuxkart.SuperTuxKart

https://flathub.org/apps/details/net.supertuxkart.SuperTuxKart
6 stars 8 forks source link

Wiimote support #10

Open AdrianVovk opened 4 years ago

AdrianVovk commented 4 years ago

I recently tried connecting my Wiimote to STK, and found out that support is disabled at compile time. Is this difficult to fix?

Thank you!

AsciiWolf commented 4 years ago

Hmm, it seems that Wiimote uses Bluetooth. Adding its support to STK would probably mean adding Bluetooth permissions and bundling udev/bluez, as can be seen here. I am not sure if I want these additional dependencies added just for one specific controller. :-/ However, I will keep this ticket open.

AdrianVovk commented 4 years ago

@AsciiWolf STK already sees Bluetooth controllers. There's just a library missing that allows it to see that some specific controllers are Wiimotes

EDIT: I just checked. The wiiuse library does want bluez installed. But since STK can pick up Bluetooth controllers I'm guessing it might be part of the runtime? I'm not sure. Even if you do end up needing to build bluez, why is it a problem?

If I end up having the time, I can probably package these myself and submit a PR.