-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support PS3 Guitar Hero instruments (Guitar, Drums, Turntable) #28
base: main
Are you sure you want to change the base?
Conversation
I also noted a couple of bugs and fixed them up here too, namely, vid and pid were swapped and there was an extra s. |
The code looks incredibly nice, thank you very much! By the way, do you mind creating a separate MR for the bug fixes so that we can land them immediately? |
Sure thing, ill get on that now. #29 Out of curiousity, do you know why a game needs to be restarted to pick the controller up? It seems like theres some sort code in here to detect new controllers being plugged into the wii, but that doesn't seem to be working? Main reason this is in draft is i have not yet tested the turntable or drums, and i need to do some testing with an actual PS3 controller to work out if the tilt stuff works correctly or not, ill have to go find my old PS3 guitar pcbs, as i've put arduinos in most of my guitars. I did also have some issues with my guitars just disconnecting in the middle of playing songs, and i'm not really sure what was causing that either |
Are you trying with a PS3 controller? I think they have problems with reconnects. |
Its my own controller, but it does emulate a PS3 controller. Any ideas why? I can implement things differently on my end if needed? I unfortunately don't own any PS4 controllers to test. Also, have you got instructions for IOS58? I could only ever get IOS57 working myself. |
@xerpi Ive also now grabbed myself a copy of DJ hero so ill test drums and dj soon hopefully and get things rolling |
A Gecko is by far the best way, especially when debugging from the ARM cores (like Fakemote). |
Interesting Ah now beta53 + IOS57 seems to be working, and has working hotplug! |
@xerpi can you think of anything that the Wii would be doing differently between the standard Wii menu and a Wii menu using ios57+fakemote? For some odd reason, my Arduino guitars work wonderfully but with fakemote loaded, an official guitar adapter seems to lock up and it's LEDs stop blinking, while without fakemote loaded it doesn't do this. can you think of any requests that might be being sent differently when fakemote is loaded (I even tried commenting out all the PS3 specific controll requests to no avail) The only real difference i can think of is internally the real adapters use a usb hub while my stuff is direct but i then tried using my stuff through a hub and that still seemed to work. |
I have a PS3 guitar, but i not have the dongle, how can i makes that? |
@EddietheTroopers |
c860124
to
7e9e4be
Compare
Do you mind doing a rebase over |
Yeah, i can do in a moment, i was just playing around with some ideas on how to potentially get actual instruments working, so ill rebase after i finish that |
Would it be difficult to support hid4? It seems that the guitar hero and rock band instruments actually initialize with IOS56, and the rock band games did use IOS56. |
Ok, perfect! I was also thinking about splitting the ds3, drum, guitar, etc drivers into different files, and maybe put all the USB drivers into a separate directory, something like:
|
That seems like a good idea, i can do that after rebasing. |
I think it should be possible. Then at runtime we can detect the IOS and use hid v4 or hid v5 accordingly. |
I don't even think you have to do that, i think you can just rely on the GETVERSION IOCTL |
Alright, i've rebased, and split the drivers into separate files. I've also implemented HIDv4 as well, though i suspect there might be better ways to implement some bits of it, I just was struggling to wrap my head around the way HIDv4 uses |
Looks pretty good overall! |
Yeah it just wasn't working until I made that change, Ive got not idea why. Would you have any ideas as to why that was necessary? |
I thought it might be the alignment, but |
368515c
to
bc9588e
Compare
I maintain a project for letting people build their own guitar hero and rock band instruments from arduinos, and I have had a few people request that i support using them to play guitar hero on wii.
Currently I have tested guitar hero, and i will test drums and turntable later. I need to grab an actual ps3 guitar and test with that as well, to see if the tilt logic works there.