-
Notifications
You must be signed in to change notification settings - Fork 13
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
second usb input not always working #59
Comments
USB really needs some love, I feel it's soo unnecessarily complex... for the simple use cases we have. |
I usually find http://www.beyondlogic.org/usbnutshell/usb1.shtml quite useful on USB matters. Lots of reading, however. |
sure, it's a great resource which I used for an intro on USB ! 2016-04-22 11:12 GMT+02:00 Adrien Destugues [email protected]:
|
still would love to understand why we get plug-and-unplug OK for the first player, but it doesn't really work for player two. i like making multiplayer games for the bitbox, but it's a pain to get it setup so player 2 works! (lots of trial and error, but no consistent behavior...) |
Yes this need some more work.
Le 13 déc. 2016 00:40, "Lucas O. Wagner" <[email protected]> a
écrit :
… still would love to understand why we get plug-and-unplug OK for the first
player, but it doesn't really work for player two. i like making
multiplayer games for the bitbox, but it's a pain to get it setup so player
2 works! (lots of trial and error...)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#59 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAlREbjvpg0GaJhSTYAWTwQ_5tYJu3yWks5rHduAgaJpZM4Hq2W6>
.
|
as a note, 2nd player works even less well with commit: this branch reverts that and gets back to about where we were (>50% chance of 2nd player working): |
Hi, I tried reverting this commit and have not had much success, ie the success rate is about the same (50%). |
can you send me your binaries ? Maybe there is a mismatch in binary code ?
2017-07-26 15:49 GMT+02:00 Lucas O. Wagner <[email protected]>:
… i seem to get much worse success than 50% with the above commit 513c4bb
<513c4bb>,
and around 50% without it (when commit 513c4bb
<513c4bb>
is reverted); but i will report back soon with the results from test_usb.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#59 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAlREclKB_89WtffDQskmUWvQtVPU1mOks5sR0QHgaJpZM4Hq2W6>
.
|
your latest commit (shuffling init code) made me wonder: if NO_USB is not defined, is it possible to wait a second or two to try and init the second usb? i'm still not getting very consistent 2nd player in bbgunner. i've found i can get better chances (though not perfect) if i disconnect player one, connect player two, start the bitbox, then plug in player 1. snake gets it pretty consistently by keeping both in.
i've tried giving the bitbox a bit more power, and that doesn't seem to help.
also, for debugging and testing other usb devices, would it be possible to have test_usb have a super low level "what i'm seeing from the usb", so we can maybe debug and add other usb devices? (i.e., before we interpret any button press as "left" or "A", just get the usb data chunks...) if this is possible, i can submit a new issue for it...
The text was updated successfully, but these errors were encountered: