Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATControllerMapper Class Reference

CATControllerMapper Class Reference
[Common Accessibility Technology [CAT] library]

#include <CATControllerMapper.h>

Inheritance diagram for CATControllerMapper:

CATMsgThread CATThread

List of all members.


Detailed Description

Maps inputs from a controller to various outputs.

Definition at line 27 of file CATControllerMapper.h.


Public Member Functions

 CATControllerMapper ()
virtual ~CATControllerMapper ()
virtual CATResult Initialize ()
virtual CATResult Uninitialize ()
virtual CATResult GetControllerList (std::vector< CATString > &controllerList)
virtual CATResult GetMappingList (const CATString &controllerName, std::vector< CATString > &mappingList)
virtual CATResult StartMapping (const CATString &controllerName, const CATString &mappingName)
virtual CATResult StopMapping ()

Protected Member Functions

virtual void OnThreadIdle ()
 Called once per timeout.
virtual CATUInt32 OnThreadMessage (CATUInt32 msg, CATUInt32 wParam, CATUInt32 lParam)
 Called when messages are received.
void OnAxis (CATInt32 val, CATJoystick::AXIS_TYPE axisType)
void OnButtonChange (bool state, CATUInt32 button)

Protected Attributes

bool fInitialized
CATUInt32 fPollFreq
CATJoystickfController
 active input controller (eventually needs to be parent class of joystick)
CATControlMapfMap
 active mapping information
CATDirectInputfDirectInput
CATJOYSTICKSTRUCT fLastStatus
CATUInt32 fValidAxis

The documentation for this class was generated from the following files:
Generated on Mon Feb 11 04:10:23 2008 for Game Accessibility Suite by doxygen 1.5.4