PDA

View Full Version : Joystick input in OpenGL



Nivii1406
12-04-2014, 10:17 PM
Hey all,

I am new to learning OpenGL. I have managed to import a Liver object into OpenGL. Previously, I have used OpenHaptics to interact with the liver(Used a Phantom Haptic Device). I am now expected to control an instrument in OpenGL with my joystick and make it interact with the Liver. The Joystick code I have looked into are all from 2005 and hence I am not able to run it successfully in my VS2010. It throws errors and I haven't been able to move forward for a couple of days now. Kindly let me know what needs to be done to carry out what I desire to do.

Thanks in advance

Dark Photon
12-05-2014, 07:49 AM
Don't cross-post (post the same question to multiple threads). And your question doesn't have anything to do with OpenGL.

Please read the Forum Posting Guidelines (https://www.opengl.org/discussion_boards/showthread.php/176139-Forum-Posting-Guidelines?p=1230021&viewfull=1#post1230021).

To your question, you'll probably get more hits if you search microsoft.com, gamedev.net, or some more generalist site. For instance (random websearch hit):

* Joysticks (MSDN) (http://msdn.microsoft.com/en-us/library/windows/desktop/dd757116%28v=vs.85%29.aspx)
* joystick (gamdev.net search) (https://www.google.com/search?q=joystick+windows+site:gamedev.net#q=joyst ick+windows+site:gamedev.net&ie=utf-8&oe=utf-8)
* joystick (microsoft.com search) (https://www.google.com/search?q=joystick+site:microsoft.com)