qaf::JoystickSystem Class Reference

#include <qafJoystickSystem.h>

List of all members.


Detailed Description

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.


JoystickgetJoystick (int i)
 

For internal use only.



Member Function Documentation

bool qaf::JoystickSystem::initialize ( HWND  hWindow  ) 

For internal use only.

Reads the system's available joysticks and prepares their interfaces.

Parameters:
hWindow The window handle to which the joysticks will be attached.
Returns:
false if initialization was not successful.

int qaf::JoystickSystem::getNumberOfJoysticks (  ) 

For internal use only.

Returns:
the number of joysticks available.

Joystick* qaf::JoystickSystem::getJoystick ( int  i  ) 

For internal use only.

Returns:
a pointer to the ith joystick device available, or NULL if an invalid index is specified.


The documentation for this class was generated from the following file:
Generated on Sun Mar 25 12:32:14 2007 for Qaf Framework by  doxygen 1.5.1-p1