Jump to content
Sign in to follow this  
BananaFredSoft

Read input from game controller?

Recommended Posts

BananaFredSoft

So, I want to make a program that can take inputs from the Rock Band 2 controller and output MIDI to make guitar chords. The MIDI part comes later, obviously :D

Luckily the guitar is plug and play USB and shows up as a game controller in the control panel. How can I read the inputs from buttons 1-13, the Z axis, and the Point of View Hat? I have no experience with calling DLLs or using objects so it seems like this would be a good way to learn it. Any advice or pointers is helpful too. Thanks in advance!

Share this post


Link to post
Share on other sites
Authenticity

Hi, can you run the code in this code and post the output of the console? The library is also included in the same post and you need to download it.

Edited by Authenticity

Share this post


Link to post
Share on other sites
BananaFredSoft

Actually, I think I've solved my own problem. I just found the Joystick UDFs and am using them now. Thanks anyways!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.