KeyPuncher / WiinUPro

Microsoft Public License
412 stars 52 forks source link

(WiinUPro) Taiko Tatacon Drums sense wrong on wiinupro but works on wii #132

Open FowlCoder opened 1 year ago

FowlCoder commented 1 year ago

I have one normal namco tatacon and on knockoff tatacon, both works with the wii and the game, but somehow the sensors for the tatacon keeps flashing randomly on the namco tatacon (between the left side and the right side) and stays "pressed" on the knockoff tatacon (both middle/red and one edge/blue)

https://pasteboard.co/HeUFz73GPj8B.png here's an image for reference

I am using version 0.9.7.703

KeyPuncher commented 1 year ago

Do they go to inactive when you hit the outer or inner left? I'm wondering if the detection might be reversed. I don't have a Taiko drum so I can't debug it myself. I need to find a way to add some type of in app debugging or logging app.

FowlCoder commented 1 year ago

They don't go inactive. It doesn't seem like the detection is reversed. I could try to take a video if that would help.

KeyPuncher commented 1 year ago

That information is helpful I'll need to double check the drum's data stream specification against what I implemented, if that's off then no problems, but if it's according to speck then perhaps there's more than one type, which would be a little trickier without gathering the data itself.

KeyPuncher commented 1 year ago

Double checked against the documented spec and it looks right. I'll need to add a way to collect debug data in order to proceed.

KeyPuncher commented 1 year ago

Debug.zip This build has a debugger in it. Right click on the Connect button to get to the Debug option before connecting. You should get a side window open. Clicking the capture button will grab the data I need to look at for the current state.

For your drum, you'll first want to do a capture while it's just sitting there. Then you'll want to do one while pressing on each activator, and make note of which is being pressed on. Now I'm not sure if a press will also hold it or if it only registers on a hit, I'm sure you have a better idea of that but basically you should see some sort of change in the text for each tap.

PotatosTimes commented 11 months ago

Hello. So I have an exact bug as @FowlCoder. it looks like in WiiUpro it keeps pressed at the middle and right edge and it won't change no matter how many i hit my wii tatacon(including the left edge which seems normal). So i searched and found this page and it seems there is no progress yet. So i decide to send this debug pic as you need instead. You can tell me if you want anything else or what i do wrong. Tatacon bug on WiiUPro

KeyPuncher commented 10 months ago

@PotatosTimes That's perfect thanks!

KeyPuncher commented 10 months ago

I found what I was doing wrong. I'm reading this like any other extension when the data doesn't exist where I'm looking for it from the Wiimote. This is going to require some special handling in order to read and parse the data. Not a quick fix unfortunately.