186 #define MAXKEYLINES 32
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.
char * keyBindings[K_KEY_SIZE]
void Key_WriteBindings(const char *filename)
Writes lines containing "bind key value".
int Key_StringToKeynum(const char *str)
Convert to given string to keynum.
void Key_SetBinding(int keynum, const char *binding, keyBindSpace_t space)
Bind a keynum to script command.
void Key_SetDest(keydest_t key_dest)
Sets the keyDest in cls.
char msgBuffer[MAXCMDLINE]
const char * Key_KeynumToString(int keynum)
Convert a given keynum to string.
char * battleKeyBindings[K_KEY_SIZE]
const char * Key_GetBinding(const char *binding, keyBindSpace_t space)
Return the key binding for a given script command.
bool Key_IsDown(unsigned int key)
Checks whether a given key is currently pressed.
const uiKeyBinding_t * binding
char keyLines[MAXKEYLINES][MAXCMDLINE]
char * menuKeyBindings[K_KEY_SIZE]