diff options
Diffstat (limited to 'code/client')
-rw-r--r-- | code/client/cl_keys.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/code/client/cl_keys.c b/code/client/cl_keys.c index 0f481a3..38f41d0 100644 --- a/code/client/cl_keys.c +++ b/code/client/cl_keys.c @@ -1063,6 +1063,18 @@ void Key_Bindlist_f( void ) { } /* +============ +Key_KeynameCompletion +============ +*/ +void Key_KeynameCompletion( void(*callback)(const char *s) ) { + int i; + + for( i = 0; keynames[ i ].name != NULL; i++ ) + callback( keynames[ i ].name ); +} + +/* =================== CL_InitKeyCommands =================== |