#include <qafJoystickSystem.h>
For internal use only.
This class manages the system's available joysticks.
The Environment will take care of everything joystick-related, and users shouldn't directly use a JoystickSystem object.
Public Member Functions | |
| bool | initialize (HWND hWindow) |
For internal use only. Reads the system's available joysticks and prepares their interfaces. | |
| void | shutdown () |
For internal use only. Releases all resources. | |
| int | getNumberOfJoysticks () |
For internal use only.
| |
| Joystick * | getJoystick (int i) |
For internal use only.
| |
| bool qaf::JoystickSystem::initialize | ( | HWND | hWindow | ) |
For internal use only.
Reads the system's available joysticks and prepares their interfaces.
| hWindow | The window handle to which the joysticks will be attached. |
| int qaf::JoystickSystem::getNumberOfJoysticks | ( | ) |
For internal use only.
| Joystick* qaf::JoystickSystem::getJoystick | ( | int | i | ) |
For internal use only.
ith joystick device available, or NULL if an invalid index is specified.
1.5.1-p1