Information about the joystick state.
More...
#include <InputEvents.h>
|
virtual bool | isButtonDown (int buttonId) const =0 |
| Returns true if the specified button is down this frame.
|
|
virtual bool | isButtonPressed (int buttonId) const =0 |
| Returns true if the specified button went from not down to down this frame.
|
|
virtual bool | isButtonReleased (int buttonId) const =0 |
| Returns true if the specified button went from down to not down this frame.
|
|
virtual unsigned char | hatState (int hatId) const =0 |
| Returns the state of the specified hat.
|
|
virtual short int | axisValue (int axisId) const =0 |
| Returns a value between -32768 and 32767 for a joystick axis.
|
|
virtual float | axisNormValue (int axisId) const =0 |
| Returns a normalized value between -1.0 and 1.0 for a joystick axis.
|
|
Information about the joystick state.
The documentation for this class was generated from the following file: