|
Public Member Functions |
| InputMapper () |
| ~InputMapper () |
void | ReadMappingsFromDisk () |
void | SaveMappingsToDisk () |
void | ClearAllMappings () |
void | SetInputMap (DeviceInput DeviceI, GameInput GameI, int iSlotIndex) |
void | ClearFromInputMap (DeviceInput DeviceI) |
void | ClearFromInputMap (GameInput GameI, int iSlotIndex) |
void | AddDefaultMappingsForCurrentGameIfUnmapped () |
void | AutoMapJoysticksForCurrentGame () |
bool | IsMapped (DeviceInput DeviceI) |
bool | IsMapped (GameInput GameI) |
bool | DeviceToGame (DeviceInput DeviceI, GameInput &GameI) |
bool | GameToDevice (GameInput GameI, int iSoltNum, DeviceInput &DeviceI) |
void | GameToStyle (GameInput GameI, StyleInput &StyleI) |
void | StyleToGame (StyleInput StyleI, GameInput &GameI) |
void | GameToMenu (GameInput GameI, MenuInput &MenuI) |
void | MenuToGame (MenuInput MenuI, GameInput GameIout[4]) |
float | GetSecsHeld (GameInput GameI) |
float | GetSecsHeld (MenuInput MenuI) |
float | GetSecsHeld (StyleInput StyleI) |
bool | IsButtonDown (GameInput GameI) |
bool | IsButtonDown (MenuInput MenuI) |
bool | IsButtonDown (StyleInput StyleI) |
void | ResetKeyRepeat (GameInput GameI) |
void | ResetKeyRepeat (MenuInput MenuI) |
void | ResetKeyRepeat (StyleInput StyleI) |
void | ApplyMapping (const Mapping *maps, GameController gc, InputDevice device) |
Protected Member Functions |
void | UpdateTempDItoGI () |
Protected Attributes |
DeviceInput | m_GItoDI [MAX_GAME_CONTROLLERS][MAX_GAME_BUTTONS][NUM_GAME_TO_DEVICE_SLOTS] |
GameInput | m_tempDItoGI [NUM_INPUT_DEVICES][MAX_DEVICE_BUTTONS] |