Namespaces | Defines | Typedefs | Functions | Variables

gamepad-config.cpp File Reference

#include "gamepad-config.h"
#include "datahash/datahash_text.h"
#include "datahash/datahash_util.h"
#include "util/uuid.h"
Include dependency graph for gamepad-config.cpp:

Go to the source code of this file.

Namespaces

namespace  gamepad

Defines

#define INSTRUCT_ENTRY(name, token)   { eInstruction_ ## name , token } ,

Typedefs

typedef std::multimap< int,
std::string > 
gamepad::priority_map_t

Functions

static const instruct_rec_t * gamepad::getInstructionRecord (IN eInstruction instruct)
void gamepad::addToMultimap (IN priority_map_t &map, IN int key, IN const char *val)
static bool gamepad::notEqual (IN const char *string1, IN const char *string2A, IN const char *string2B)
const char * gamepad::getInstructionToken (IN eInstruction instruct)
 handy string token given enum (can be used as key for localized string)

Variables

static const instruct_rec_t gamepad::s_instructionRecords []
static const int gamepad::s_interleave = 8
static const float gamepad::s_buttonThreshold = 0.95

Define Documentation

#define INSTRUCT_ENTRY (   name,
  token 
)    { eInstruction_ ## name , token } ,

Definition at line 48 of file gamepad-config.cpp.