The example Keless pointed out is perfect for key polling via Irrlicht. Though, you can craft your own input handler external from Irrlicht. Since Irrlicht is a graphics engine only, a true purist would say that even the Event handler shouldn't be part of the core. But it is nice that it is.
Now that I think of it, there are libraries for networking, sound, physics, AI, etc... out there, but I can't think of a single Input library. Time to do some googlin'.
Anyone know of a LGPL, MIT, or similiarly licensed Input handling library? One that handles key, mouse, and controller input like Microsoft's DirectInput?
saigumi wrote:The example Keless pointed out is perfect for key polling via Irrlicht. Though, you can craft your own input handler external from Irrlicht. Since Irrlicht is a graphics engine only, a true purist would say that even the Event handler shouldn't be part of the core. But it is nice that it is.
Now that I think of it, there are libraries for networking, sound, physics, AI, etc... out there, but I can't think of a single Input library. Time to do some googlin'.
Anyone know of a LGPL, MIT, or similiarly licensed Input handling library? One that handles key, mouse, and controller input like Microsoft's DirectInput?