186#define MAXKEYLINES 32
char keyLines[MAXKEYLINES][MAXCMDLINE]
char * keyBindings[K_KEY_SIZE]
char msgBuffer[MAXCMDLINE]
char * menuKeyBindings[K_KEY_SIZE]
char * battleKeyBindings[K_KEY_SIZE]
bool Key_IsDown(unsigned int key)
Checks whether a given key is currently pressed.
const char * Key_GetBinding(const char *binding, keyBindSpace_t space)
Return the key binding for a given script command.
void Key_SetBinding(int keynum, const char *binding, keyBindSpace_t space)
Bind a keynum to script command.
void Key_WriteBindings(const char *filename)
Writes lines containing "bind key value".
void Key_SetDest(keydest_t key_dest)
Sets the keyDest in cls.
const char * Key_KeynumToString(int keynum)
Convert a given keynum to string.
void Key_Event(unsigned int key, unsigned short unicode, bool down, unsigned time)
Called by the system between frames for both key up and key down events.
int Key_StringToKeynum(const char *str)
Convert to given string to keynum.
const uiKeyBinding_t * binding