#include <CATControllerMapper.h>
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 |
CATJoystick * | fController |
active input controller (eventually needs to be parent class of joystick) | |
CATControlMap * | fMap |
active mapping information | |
CATDirectInput * | fDirectInput |
CATJOYSTICKSTRUCT | fLastStatus |
CATUInt32 | fValidAxis |