Geeks With Blogs
Bob Taco Industries Blogging Division

Anyone developing for XBLIG knows (or should know) that guitar controllers feedback data on certain analog GamePad inputs. This is why the Evil Checklist cautions against using thumbstick movement to determine control. But what data exactly does it feed? I wrote a quick test program to find out.

The whammy bar when not pressed in at all feeds a steady -1.0f on the right thumbstick’s X channel. Pressing it in will steadily change it until (when pressed in all the way) it feeds 1.0f. (The thumbstick channels are analog input placed into a Vector2 with values between -1.0f and 1.0f).

The “effect selector” knob (the switch below the strum bar with 5 positions) sends feedback between 0.0f and 0.8844444f on the left trigger channel. (Trigger channels are analog input placed into a float with values between 0.0f and 1.0f).

Lastly, the “deploy” accelerometer(?) will feed a very quick pulse of feedback greater than 0.0f (it goes up to 1.0f then back to 0.0f in less than a second (approximately)) on the right thumbstick’s Y channel when the guitar controller is moved rapidly. (As best I can figure it is an accelerometer looking for very rapid movement in order to feed a signal). Except for the short pulse of feedback, it will feed 0.0f along the Y channel.

This was just a quick post for future reference. I did not test a drum kit, but I’m not aware of it sending any particular non-zero feedback without something being pressed. Nor have I tested any controllers beyond the classic Rock Band plugged controller (I have a wireless that I expect would feed the same data; I do not have a Guitar Hero controller or any of the fancy new Rock Band 3 controllers (yet)).

Update:

Please see the first comment (from Yenian) for some helpful additional information!

Posted on Monday, November 29, 2010 9:43 PM xna | Back to top


Comments on this post: Xbox360 and Guitar Controller Feedback

# re: Xbox360 and Guitar Controller Feedback
Requesting Gravatar...
There is some significant variation between the various makes of guitar controllers. The Xbox 360 Guitar Hero 2 guitar (X-ploder?) has an accelerometer that is readable over time, and usable as more than an 'instantaneous' input. 1st gen Rock Band guitars don't have accelerometers, instead having a much simpler drop sensor. (A tube holding a ball bearing, from what I could tell when turning one into an banjo controller.) These behave more like an instant switch.

I never had opportunity to mess with all various makes (just those two), but it's important to note that the inputs across the guitar controllers are not 100% consistent. Who knows what other oddities show up across the various makes.
Left by Yenian on Nov 29, 2010 10:20 PM

Comments have been closed on this topic.
Copyright © Michael B. McLaughlin | Powered by: GeeksWithBlogs.net