-
Notifications
You must be signed in to change notification settings - Fork 10
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
XBox 360 Wireless Guitar #11
Comments
this has the same USB ID as the drumkit, so we'll have to add a flag for you to pass in to differentiate between the two. |
ok, I threw something together you can test (again in the rbpro branch). There are likely some bugs, as the whammy bar again has more data than the controllers I've dealt with previously, but you should be able to pass the -xbgtr flag in the command line options for it to treat the device as a guitar rather than the drums. Let me know how it goes. |
gdb ./rbdrum2midi (gdb) r -xbgtr Thread 1 "rbdrum2midi" received signal SIGSEGV, Segmentation fault. (gdb) backtrace |
Ah I missed a spot. Please pull and try again, we'll see what the next error is. :) |
@ssj71 , the program runs and there is USB output when I press the keys, but Hydrogen does not register any MIDI input. I'm not sure how to troubleshoot that, so please let me know to proceed. |
It could be that you are sending the midi on the wrong channel for what Hydrogen is set to. Have you used a midi sniffer like kmidimon or jack_midi_dump (if you are using jack audio)? That will show us if any midi signal is coming out, rather than trying to connect it to hydrogen and making sure h2 is also configured correctly. |
@ssj71 , kmidimon has not been updated to KDE5, so I was not able to compile it. jack_midi_dump is probably my best bet, but I don't know how to use it. The syntax is jack_midi_dump [ OPTIONS ] [CLIENT-NAME]. I tried jack_midi_dump "Game Drumkit Client" but it created a new JACK port with that name instead of monitoring the existing one. |
you'll need a connection manager app like qjackctl or Catia (https://kx.studio/Applications:Catia) to manage connect the two jack apps (rbdrum2midi and the monitor). You can also do it through the command line using jack_connect but I don't do it that way myself and I can't remember the exact useage. There's also a gmidimon and I imagine various others, those are just the 2 I use most (kmidimon for alsa, jack_midi_dump for jack). |
@ssj71 , I connected rbdrum2midi and the monitor with qjackctl and confirmed that there is not any MIDI output. This is the rbdrum2midi output: It looks the same as when I connect my XBox 360 wired guitar, so there must be something wrong even though it is reporting that everything is fine. |
since you are using jack audio I would recommend you use the -j option for a jack-midi output rather than -a which makes an alsa midi output. It should send messages any time you press the whammy bar or when you are holding a colored button and press the pick otherwise it will not send any messages. Check if that -j makes any difference. |
@ssj71 , I tried with -j and there still is no output. Since I care more about the drums working properly than the wireless guitar, maybe we can focus on that instead for now. |
lsusb: Bus 008 Device 002: ID 045e:0719 Microsoft Corp. Xbox 360 Wireless Adapter
Green Button:
000100f0 00130010 7a000000 00000080 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 00000080 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
Red Button:
000100f0 00130020 7a000000 00000080 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 00000080 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
Yellow Button:
000100f0 00130080 7a000000 00000080 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 00000080 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
Blue Button:
000100f0 00130040 7a000000 00000080 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 00000080 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
Orange Button:
000100f0 00130001 7a000000 00000080 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 00000080 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
Pick:
000100f0 00130200 7a000000 00000080 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 00000080 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
Whammy:
000100f0 00130000 7a000000 00000080 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 00006f85 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000938d 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000e893 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000c39e 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000e7a6 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 00004eb1 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 000084bd 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 00002eca 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 00001ad9 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 000062e9 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 000006fb 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 00000000 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000b602 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000a81f 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000b33b 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000745a 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000a979 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000ff7f 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000ff7f 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000ff7f 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000ff7f 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000ff7f 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000ff7f 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000ff7f 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000ff7f 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000b56f 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000fa5e 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000134b 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 00004536 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 00009020 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000660a 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 00000000 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000dbf7 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 000014de 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000ebc7 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000c1b1 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000369f 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 0000078e 00000000 00000000 000000 kit type=1
000100f0 00130000 7a000000 00000080 00000000 00000000 000000 kit type=1
000000f0 00000000 00000000 00000000 00000000 00000000 000000 kit type=1
The text was updated successfully, but these errors were encountered: