mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 05:00:35 +00:00
Expose Key_StringToKeynum.
This commit is contained in:
parent
173af3a992
commit
475d90e96f
2 changed files with 2 additions and 1 deletions
|
@ -509,6 +509,7 @@ void Key_KeydestCallback (keydest_callback_t *callback);
|
|||
|
||||
|
||||
const char *Key_KeynumToString (knum_t keynum);
|
||||
int Key_StringToKeynum (const char *str);
|
||||
struct progs_s;
|
||||
void Key_Progs_Init (struct progs_s *pr);
|
||||
#endif
|
||||
|
|
|
@ -632,7 +632,7 @@ Key_Console (knum_t key, short unicode)
|
|||
the given string. Single ascii characters return themselves, while
|
||||
the QFK_* names are matched up.
|
||||
*/
|
||||
static int
|
||||
VISIBLE int
|
||||
Key_StringToKeynum (const char *str)
|
||||
{
|
||||
keyname_t *kn;
|
||||
|
|
Loading…
Reference in a new issue