|
Post by vandorb12 on Nov 25, 2015 0:42:55 GMT
Today, I got my RB4 Pro Cymbals in the mail. After goofing around with them in RB4 for a while (they're fun!), I started my quest to profile the cymbals for our wonderful community. I'm not having much luck. PSCtrl only lets me profile the toms, but does not ask to profile my cymbals or the extra bass pedal. The extra bass pedal, I can live without. I took a look and wrote down what sort of information button_data was providing me, and I think I caught a snag in my plans. The cymbal's output is the same as the toms! <DEVICE> <NAME>Rock Band 4 Drum Set</NAME> <VID>1848</VID> <PID>33378</PID> <MAGICBUTTON>-1</MAGICBUTTON> <MAGICDATA>-1</MAGICDATA> <XROTCEN>0</XROTCEN> <GYROCUTOFF>99</GYROCUTOFF> <TYPE>0</TYPE> <BUTTONS> <GREEN>49,128,0</GREEN> <RED>50,128,0</RED> <YELLOW>51,128,0</YELLOW> <BLUE>48,128,0</BLUE> <ORANGE>52,128,0</ORANGE> <UP>32,0,4294967295</UP> <DOWN>32,18000,4294967295</DOWN> <LEFT>32,27000,4294967295</LEFT> <RIGHT>32,9000,4294967295</RIGHT> <BACK>56,128,0</BACK> <START>57,128,0</START> <BASS>52,128,0</BASS> </BUTTONS> </DEVICE> This is the output that I get when I use button_data and hit the cymbals. Yellow Cymbal: Button:51Value128 Button:51Value0 Blue Cymbal: Button:48Value128 Button:48Value0 Green Cymbal: Button:49Value128 Button:49Value0 Thoughts? Will we need to consider making a custom driver for drums? Will Voyager ever come home (plz don't spoil it)? TL;DR www.reddit.com/r/Rockband/comments/5jq4o5/madcatz_rock_band_4_drum_kit_plugin_for/
|
|
|
Post by TrojanNemo on Nov 25, 2015 2:56:56 GMT
That's interesting. I'll be getting myself a Xbox One adapter for Windows 10 soon-ish so I can look at adding RB4 drums support to my little drumming app. If you don't have a solution by then I'll chime in with what I find.
|
|
|
Post by vandorb12 on Nov 25, 2015 3:36:01 GMT
That's interesting. I'll be getting myself a Xbox One adapter for Windows 10 soon-ish so I can look at adding RB4 drums support to my little drumming app. If you don't have a solution by then I'll chime in with what I find. Please do! I'm sure any new information into getting the all the new instrument features working in Phase Shift would be most appreciated for the PS devs. Just to reiterate, I'm on PS4.
|
|
|
Post by David on Nov 25, 2015 4:49:45 GMT
Seems like it's much simplier than the RB3 one with each cymbal having it's dedicated button without them having to worry about backwards compatibility.
David
|
|
|
Post by TrojanNemo on Nov 25, 2015 5:10:12 GMT
Please do! I'm sure any new information into getting the all the new instrument features working in Phase Shift would be most appreciated for the PS devs. Just to reiterate, I'm on PS4. Sent you a PM.
|
|
|
Post by vandorb12 on Nov 26, 2015 0:00:17 GMT
Seems like it's much simplier than the RB3 one with each cymbal having it's dedicated button without them having to worry about backwards compatibility. It does not look like the cymbals have their own dedicated button. According to the output that I got from button_data, as well as TrojanNemo's debug utility on Rok Drummer, the cymbals and toms are the same thing. There must be some sort of modifier that the stock drivers are not picking up. If this gets too hairy, there's one person who has the know-how to potentially get this to work, and that's Jays2Kings. He wrote DS4Windows. ds4windows.com/ Currently his program does not support any of the new Rock Band peripherals. Just a thought. =P
|
|
|
Post by TrojanNemo on Nov 26, 2015 17:07:40 GMT
Alright, so I spoke with MCZRich on Reddit, who is the Mad Catz guy in all the promotional stuff for Rock Band 4.
As vandorb12 mentioned, XInput sees the same exact input from cymbals and toms on a RB4 kit with the new digital RB4 cymbals...down to the hash value.
The problem is that the way we access the output from these kits relies on XInput, which is not reading the extended data that Xbox One and PS4 now allow in peripherals. So while the basic data XInput sees has both cymbals and toms showing the same button data, there's extra data that is being sent that the Xbox One and PS4 see and is how the game tells them apart.
Before, a tom was one button, and that same colored cymbal was that button + a shoulder bumper button, for example. That combination of buttons led to crosstalk. According to the Mad Catz guy, this new way allows for reduction in crosstalk.
So unless XInput will be updated (or already has and we're using an older version for whatever reason) we're going to need a custom driver to read that extra data.
|
|
|
Post by vandorb12 on Nov 26, 2015 21:52:38 GMT
Wow. I know that HMX and MadCatz are trying to be open about the going-ons with RB4... But I'm surprised how open they were about this!
|
|
|
Post by cj1031 on Dec 11, 2015 6:41:57 GMT
That's interesting. I'll be getting myself a Xbox One adapter for Windows 10 soon-ish so I can look at adding RB4 drums support to my little drumming app. If you don't have a solution by then I'll chime in with what I find. I was finally able to get one of these adapters, doesn't appear to be working with the drums. There is a solid light and it appears to connect with the adapter, but it's not appearing at all as an xinput controller or a device in general.
|
|
|
Post by TrojanNemo on Dec 13, 2015 15:07:57 GMT
I got the adapter too but haven't had a chance to test out the drums with my app. I'll see if I can do that tonight and report. Unfortunately I don't have the RB4 cymbals, only the RB3 ones, so I wouldn't be able to comment on that anyways.
|
|
|
Post by arlight1 on Dec 15, 2015 4:02:14 GMT
any update on getting the cymbals to work? Is this still an XInput issue?
|
|
|
Post by TrojanNemo on Dec 16, 2015 2:48:27 GMT
I confirmed that the drums connect to the PC, as it registers as connected on both the drums and the adapter (both have solid light) but my app doesn't see it. Neither interfacing directly with XInput nor through SlimDX. So for now I got no idea how we can read the input :-(
Would love to know. If I figure it out at some point I'll post on here.
|
|
|
Post by vandorb12 on Dec 17, 2015 2:35:21 GMT
I have enough knowledge to sniff bluetooth packets for the PS4 version of the kit, but I lack the ability to code a driver or anything beyond that.
My current hypothesis is that if I set up (purchase) an Ubertooth One (http://hakshop.myshopify.com/products/ubertooth-one), I could read the packets coming from the drum kit to the PC. From there, I would have enough raw data for somebody to have some sort of clue on what's going on. It's going to be expensive (the Ubertooth is cheap compared to similar hardware, but not exactly in my budget) and will take a lot of time (not something that I have a lot of) just to get a small glimpse of how the drums work.
|
|
|
Post by arlight1 on Dec 17, 2015 6:35:14 GMT
I confirmed that the drums connect to the PC, as it registers as connected on both the drums and the adapter (both have solid light) but my app doesn't see it. Neither interfacing directly with XInput nor through SlimDX. So for now I got no idea how we can read the input :-( Would love to know. If I figure it out at some point I'll post on here. Simply connecting the drums to PC isn't the challenging part. If you need assistance with that I'll gladly help as I have them fully set up and playing in PS. They work quite well if you don't have output going through a 50ft HDMI cable onto your TV or something because latency is a big issue with bluetooth-enabled instruments. Otherwise, I play it from the computer monitor display and runs very well. Already FCed some RB1 songs on expert! I have enough knowledge to sniff bluetooth packets for the PS4 version of the kit, but I lack the ability to code a driver or anything beyond that. My current hypothesis is that if I set up (purchase) an Ubertooth One (http://hakshop.myshopify.com/products/ubertooth-one), I could read the packets coming from the drum kit to the PC. From there, I would have enough raw data for somebody to have some sort of clue on what's going on. It's going to be expensive (the Ubertooth is cheap compared to similar hardware, but not exactly in my budget) and will take a lot of time (not something that I have a lot of) just to get a small glimpse of how the drums work. I'm an electrical/computer engineer by trade so I may be of help tapping into comms running Kit < -- > Bluetooth, but just as you said, have no knowledge on creating the driver necessary for reading the cymbals. Just not sure if it's worth the time as you mentioned. Although, if you'd be willing to work together on this somehow, we could procure an individual with the know-how on the software side.
|
|
|
Post by TrojanNemo on Dec 20, 2015 2:18:43 GMT
You're assuming I have the PS4 instruments, which I do not.
|
|