[client] keybind: add descriptions for all keybindings

This commit is contained in:
Quantum
2021-01-30 22:48:24 -05:00
committed by Geoffrey McRae
parent 4e765b063a
commit ead8069dae
5 changed files with 26 additions and 24 deletions

View File

@@ -97,7 +97,7 @@ typedef void (*KeybindFn)(int sc, void * opaque);
* @retval A handle for the binding or NULL on failure.
* The caller is required to release the handle via `app_releaseKeybind` when it is no longer required
*/
KeybindHandle app_registerKeybind(int sc, KeybindFn callback, void * opaque);
KeybindHandle app_registerKeybind(int sc, KeybindFn callback, void * opaque, const char * description);
/**
* Release an existing key binding