|
SDL++
C++wrapperfortheSDLlibrary.
|
Base for the joystick subsystem. More...
#include <Subsystem.h>
Public Member Functions | |
| void | update () |
| int | numJoysticks () |
| bool | enableEvents () |
| bool | disableEvents () |
| bool | areEventsEnabled () |
Static Protected Member Functions | |
| static const string | name () |
Base for the joystick subsystem.
Definition at line 223 of file Subsystem.h.
| bool sdl::subsystem::JoystickBase::areEventsEnabled | ( | ) | [inline] |
Determines if joystick event polling is enabled. Warning: Calling this function may delete all events currently in the queue.
Definition at line 256 of file Subsystem.h.
| bool sdl::subsystem::JoystickBase::disableEvents | ( | ) | [inline] |
Disables joystick event polling. Warning: Calling this function may delete all events currently in the queue.
Definition at line 248 of file Subsystem.h.
| bool sdl::subsystem::JoystickBase::enableEvents | ( | ) | [inline] |
Enables joystick event polling. Warning: Calling this function may delete all events currently in the queue.
Definition at line 240 of file Subsystem.h.
| static const string sdl::subsystem::JoystickBase::name | ( | ) | [inline, static, protected] |
Returns the name of the Subsystem.
Definition at line 264 of file Subsystem.h.
| int sdl::subsystem::JoystickBase::numJoysticks | ( | ) | [inline] |
Returns the number of available joysticks.
Definition at line 232 of file Subsystem.h.
| void sdl::subsystem::JoystickBase::update | ( | ) | [inline] |
Updates the state of all joysticks.
Definition at line 227 of file Subsystem.h.