Jump to content
Sign in to follow this  
Minikori

Getting keypresses from a USB device

Recommended Posts

Minikori

I have know idea where to even start with this, I just need to know how to get a key press from say an Xbox 360 controller (which uses USB). Thanks in advance!


For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com

Share this post


Link to post
Share on other sites
AdmiralAlkex

So what is the device installed in Windows as? If it's a "game device" you could use Ejoc's Joystick UDF

Edited by AdmiralAlkex

Share this post


Link to post
Share on other sites
Minikori

So what is the device installed in Windows as? If it's a "game device" you could use Ejoc's Joystick UDF

I was actually thinking of using the Rockband drums, would it still work?

For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com

Share this post


Link to post
Share on other sites
Minikori

Where do they show up in "device manager"?

Harmonix Drum Kit For Xbox 360 (Controller)

For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com

Share this post


Link to post
Share on other sites
Minikori

OK I got it working with my drum kit, thank you.


For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com

Share this post


Link to post
Share on other sites
AdmiralAlkex

Harmonix Drum Kit For Xbox 360 (Controller)

I actually said "where is it" not "what is it", my point was that if it is under "game controllers" use the joystick udf, if it is a keyboard use HotKeySet() or _IsPressed() and if it is a mouse etc... Do you understand?

OK I got it working with my drum kit, thank you.

Hmm ok so everything is fine then? I am happy I could be of service ;)

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.