for our game, we ll want use the gamepadfor mouvement and combat, whats the best solutions ?
For exemple an dualqhock to ps2 compatible ? I desire just applicate one action to a touch of gamepad, and more in advance use the analogic mushroom
Thx for you respond
Nicolas
mouvement gamepad
mouvement gamepad
[Essayer De Toucher l'Horizon] -+- [Try To Tuch The Horizon]
Several solutions:
Using the input system of SDL (http://www.libsdl.org/index.php) is rather easy and it will run on most platforms. But integrating the lib can be a little work and the license is LGPL.
OIS (Object Oriented Input System) (http://sourceforge.net/projects/wgois) is another solution. Seems to work on Windows, Linux and partly on Mac. It offers force-feedback support and uses the ZLIB license. But I never used it so I can't tell how well it works.
And you can certainly use the input system of a specific platform, like DirectInput on Windows.
Edit: Wait - analogic mushroom??? Uh, I have no idea... is it legal?
Using the input system of SDL (http://www.libsdl.org/index.php) is rather easy and it will run on most platforms. But integrating the lib can be a little work and the license is LGPL.
OIS (Object Oriented Input System) (http://sourceforge.net/projects/wgois) is another solution. Seems to work on Windows, Linux and partly on Mac. It offers force-feedback support and uses the ZLIB license. But I never used it so I can't tell how well it works.
And you can certainly use the input system of a specific platform, like DirectInput on Windows.
Edit: Wait - analogic mushroom??? Uh, I have no idea... is it legal?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Provided that the gamepad is recognized by windows\whatever OS I would reccomend using SDL for input. It's not super easy to set up, but once it is it is really nice to use.
If you ask CuteAlien you may be able to get some parts of sourcefiles\headers that set up the input, and how to poll for events, etc. That's where I got the information from.
If you ask CuteAlien you may be able to get some parts of sourcefiles\headers that set up the input, and how to poll for events, etc. That's where I got the information from.
The Open Descent Foundation is always looking for programmers! http://www.odf-online.org
"I'll find out if what I deleted was vital here shortly..." -d3jake
"I'll find out if what I deleted was vital here shortly..." -d3jake