Sirikata
|
Upon changing the value of a mouse/joystick axis. More...
#include <InputEvents.hpp>
Public Member Functions | |
AxisEvent (const InputDevicePtr &dev, unsigned int axis, AxisValue value) | |
Public Attributes | |
AxisIndex | mAxis |
AxisValue | mValue |
Upon changing the value of a mouse/joystick axis.
NOTE: This does not take into account relative (per-frame) versus absolute axes.
For example, the mouse wheel is fired only once upon scrolling a few lines. On the other hand, a joystick is constantly fired whenever the value changes.
Sirikata::Input::AxisEvent::AxisEvent | ( | const InputDevicePtr & | dev, |
unsigned int | axis, | ||
AxisValue | value | ||
) | [inline] |