Information on a joystick, returned from irr::IrrlichtDevice::activateJoysticks() More...
#include <IEventReceiver.h>
Information on a joystick, returned from irr::IrrlichtDevice::activateJoysticks()
Definition at line 451 of file IEventReceiver.h.
anonymous enum |
An indication of whether the joystick has a POV hat.
A Windows device will identify the presence or absence or the POV hat. A Linux device cannot, and will always return POV_HAT_UNKNOWN.
POV_HAT_PRESENT |
A hat is definitely present. |
POV_HAT_ABSENT |
A hat is definitely not present. |
POV_HAT_UNKNOWN |
The presence or absence of a hat cannot be determined. |
Definition at line 473 of file IEventReceiver.h.
The number of axes that the joystick has, i.e. X, Y, Z, R, U, V.
Note: with a Linux device, the POV hat (if any) will use two axes. These will be included in this count.
Definition at line 468 of file IEventReceiver.h.
The number of buttons that the joystick has.
Definition at line 463 of file IEventReceiver.h.
The ID of the joystick.
This is an internal Irrlicht index; it does not map directly to any particular hardware joystick. It corresponds to the irr::SJoystickEvent Joystick ID.
Definition at line 457 of file IEventReceiver.h.
The name that the joystick uses to identify itself.
Definition at line 460 of file IEventReceiver.h.
enum { ... } irr::SJoystickInfo::PovHat |
An indication of whether the joystick has a POV hat.
A Windows device will identify the presence or absence or the POV hat. A Linux device cannot, and will always return POV_HAT_UNKNOWN.