We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpElectronics,  Serial Library › dual analog controller wrapper class
Page Index Toggle Pages: 1
dual analog controller wrapper class (Read 1610 times)
dual analog controller wrapper class
Nov 5th, 2006, 12:02am
 
I've been working on a game that uses a PS2 controller so I'd made a class to encapsulate the proCONTROLL objects I needed to talk to the controller. I've generalized that class a bit so it will map buttons based on the name of the device passed to it. It'd be really awesome if anybody with a controller not already accounted for could send me the mapping and name of that controller.

Here's the docs: http://code.compartmental.net/dualanalog
Re: dual analog controller wrapper class
Reply #1 - Nov 11th, 2006, 8:52pm
 
I've updated the class to include the new CoolieHat and rumble support in the proCONTROLL library.
Re: dual analog controller wrapper class
Reply #2 - Aug 9th, 2007, 1:06am
 
I don't know if you are still following this thread but; I have just discovered your wrapper class and was interested in knowing if you have a .JAR file for it so it can be used as a library. Or perhaps i am just not familiar with the use of the wrapper.
Re: dual analog controller wrapper class
Reply #3 - Aug 9th, 2007, 4:59am
 
As it stands right now, you just download the pde file and add it to your the folder of the sketch you want to use it with. No need to wrap it up in a JAR.
Re: dual analog controller wrapper class
Reply #4 - Aug 9th, 2007, 6:28pm
 
fantastic. this little class is great. I just need to figure out the button map for my controller and I am set. I will post the results when i am finished.
Page Index Toggle Pages: 1