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

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

#include <GASProtoMapper.h>

Inheritance diagram for GASProtoMapper:

CATMsgThread CATThread

List of all members.


Detailed Description

Prototype input mapping Quick and dirty for quadcontrol - abstract on next round in CATControllerMapper.

Definition at line 31 of file GASProtoMapper.h.


Public Member Functions

 GASProtoMapper ()
virtual ~GASProtoMapper ()
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)
void PushChar (CATUInt32 scancode, bool keydown=true)

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
CATFilterAttackDecayfFilterXLow
CATFilterAttackDecayfFilterXHigh
CATFilterAttackDecayfFilterZLow
CATFilterAttackDecayfFilterZHigh
CATFilterAttackDecayfFilterXRotLow
CATFilterAttackDecayfFilterXRotHigh
CATFilterAttackDecayfFilterYRotLow
CATFilterAttackDecayfFilterYRotHigh
bool fWKeyDown
bool fSKeyDown
bool fWPovKeyDown
bool fSPovKeyDown
bool fAKeyDown
bool fDKeyDown
bool fSpeedToggle
bool fCToggle
bool fLSToggle
bool fLCToggle

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