X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fkeybindings.h;h=b2e74c07761c7de3f9b226e17cdba058ff1d6d2b;hb=4b5302fe73b9aa08819ff740bbf8286352a990fb;hp=3d1b75e73ae619ec055531682ab0205e6caed628;hpb=e6ed641e5feea84437d154b29ea8982cf9dfb37d;p=plomrogue diff --git a/src/keybindings.h b/src/keybindings.h index 3d1b75e..b2e74c0 100644 --- a/src/keybindings.h +++ b/src/keybindings.h @@ -30,6 +30,9 @@ struct KeyBiData +/* Return name of action / functionality coupled to keycode; NULL on failure. */ +extern char * get_func_to_keycode(struct KeyBinding * kb_p, uint16_t key); + /* Return keycode matched by keybinding to command of "name". */ extern uint16_t get_keycode_to_action(struct KeyBinding * keybindings, char * name);