Meowmaritus / WiitarThing

MIT License
83 stars 23 forks source link

Convert from old unsupported SCP controller drivers to ViGEm drivers. #9

Open MWisBest opened 4 years ago

MWisBest commented 4 years ago

As a user of DualShock 3s and 4s on my PC, I've gone from the old outdated SCPToolkit to the new, actively supported successor, ViGEm. Unfortunately I was unable to use WiitarThing because SCPToolkit's drivers and ViGEm's drivers cannot co-exist.

For a proof-of-concept, I ported WiitarThing over to ViGEm. Here is the initial commit: https://github.com/MWisBest/WiitarThing/commit/6bfd6e1d25973885e8fb692f521abe9eaeeac400 (not currently added, but would be simple: rumble support)

This is quite ugly due to how I shoehorned a translation layer on top of a translation layer on top of a translation layer. But take a look at the Report function. The mess of stuff in Parse could simply go away, along with a lot of other things, due to the simpler interface provided by ViGEm.

If this is something you're interested in I'd pursue it further and hammer everything out, if not I will just provide a fork that can be directed to for anyone in the same situation.

Meowmaritus commented 4 years ago

I'm actually not the one who wrote the scp code in this and I have very little experience with driver related things. I also have no interest in working on this app anymore lol. Feel free to fork it and do whatever. If you get it nice and stable I could merge it into this repo if you want

SeongGino commented 2 years ago

@MWisBest Sorry to necro, but since the fork doesn't have a respective issues page to reply on, I felt it prudent to ask if you could provide a release binary for the ViGEm fork. I have tried to compile it myself, but to no avail.

TheNathannator commented 2 years ago

Use Aida-Enna's fork, it uses the same ViGEmBus conversion (plus some fixes by myself) and has built releases https://github.com/Aida-Enna/WiitarThing This is the fork we currently link in the Clone Hero discord