Dolla Pills
Smash Ace
So recently I've been working on something for fun in Java and I wanted to add in support for the Wii U adapter. I'm using the usb4java LibUsb wrapper and have been following the source code for Dolphin (which uses LibUsb). I'm able to access the device/endpoints fine and don't get any errors when trying to use the interruptTransfer method, yet when I try to read data I don't get anything (just a ByteBuffer full of 0's).
Does anyone have experience with usb4java or understand the Dolphin source code that would be willing to help me? I can post my code too but just wanted to see if anyone was available to help since I'm inexperienced and kinda frustrated at this point.
EDIT:
I have it reading some stuff now after reversing the endpoints, but it takes me about two to three times of running the program to update the values. Anyone know why?
EDIT 2:
I think it was just an oddity of only scanning input once before ending the program, when I put it in my main loop it was fine. So it turns out I don't need help after all but if anyone ever wants this code for whatever reason hit me up.
Does anyone have experience with usb4java or understand the Dolphin source code that would be willing to help me? I can post my code too but just wanted to see if anyone was available to help since I'm inexperienced and kinda frustrated at this point.
EDIT:
I have it reading some stuff now after reversing the endpoints, but it takes me about two to three times of running the program to update the values. Anyone know why?
EDIT 2:
I think it was just an oddity of only scanning input once before ending the program, when I put it in my main loop it was fine. So it turns out I don't need help after all but if anyone ever wants this code for whatever reason hit me up.
Last edited: