🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Joysticks

Started by
1 comment, last by Mave 24 years ago
Hi all. I''ve made a small opengl program and I need to add joystick support. I would like to be able to move around using the joystick. I suppose I need to use direct input? Does anyone knows a good tutorial on adding joystick support? Thanks
Advertisement
You should use DirectInput.

Download the DirectX SDK and open the documentation file directx.chm

There are some DirectInput tutorials that learn you to use DirectInput to menage KeyBoard, Mouse and Joystick.

Otherwise, call assembly code to see what''s the joysticks button and/or moves codes are...
(you can find me on IRC : #opengl on undernet)

This topic is closed to new replies.

Advertisement