Hi, I'm using Dev-C++ with Irrlicht engine.
Naturally, I'm using C++...
I was wondering what the best way would be to capture mouse input (left/right/middle button clicks, and mouse wheel input if possible) in an Irrlicht project.
In particular, I'd like to capture mouse input from left, right and middle mouse buttons when using the FPS camera (which steers using the mouse).
Mouse input when using Irrlicht Engine
http://irrlicht.sourceforge.net/tut004.html
That tutorial has info about capturing keyboard events. capturing mouse events is done through the same event interface.
If you're going to be doing your own event handling for your camera, you probably don't want to use the built-in FPS camera...the built in FPS camera is good for getting a quick demo up and running, but if you have intentions of custom control over your camera, you're going to want to make your own camera class that inherits from CCameraSceneNode
That tutorial has info about capturing keyboard events. capturing mouse events is done through the same event interface.
If you're going to be doing your own event handling for your camera, you probably don't want to use the built-in FPS camera...the built in FPS camera is good for getting a quick demo up and running, but if you have intentions of custom control over your camera, you're going to want to make your own camera class that inherits from CCameraSceneNode