Hey guys,
Does anyone have any libraries (with tutorials/examples) to process gamepad input with the irrlicht engine the same way as keyboard input?
Thanks!
Gamepad library!
-
- Posts: 14
- Joined: Wed Jul 04, 2007 4:57 am
You can mix Irrlicht and SDL and only use joystick/gamepad input of SDL. You can also recompile SDL to throw everything besides the input part out. But there is not really a reason to do so except if you want a smaller shared library.
Gamepads are accessed like joysticks, so you will have to read the joystick programming documentation of SDL.
Depending on the project you have to care about the license. SDL is using a LGPL license which is a little more restrictive than the zlib-license of irrlicht.
Gamepads are accessed like joysticks, so you will have to read the joystick programming documentation of SDL.
Depending on the project you have to care about the license. SDL is using a LGPL license which is a little more restrictive than the zlib-license of irrlicht.
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