JoyStick integration in QT
I’m undergraduate student. I’m working on a project. My project is about Game development using QT. But I found that this nice graphic library not have integration for Joystick.
My Question is that how I can use Joystick in QT base Programs? Is there any Class for Joystick? Can anyone send me example code implementation for joystick I QT?
Ah here it is again SDL [plib.sf.net]
http://www.fredemmott.co.uk/blog/2009/07/23/Accessing joysticks with Qt
@ Mr. Immii :- I think this idea is also good. Can you guide me further on this method? Can anyone give me more details on above topic? I mean tools or examples or other resources which can help to understand QioDevice and Joystick DRIVER? I’ll try both of these methods to use joystick in QT and check which method is best for me.
Another option that you might want to consider is using SFML.
SFML is a free multimedia C++ API that provides you low and high level access to graphics, input, audio, etc.
Here is a tutorial on how to integrate it into Qt.
And here is the input class.