home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed redundancy between record_control() and player_control() by re-writing their...
[plomrogue]
/
src
/
keybindings.h
diff --git
a/src/keybindings.h
b/src/keybindings.h
index 3d1b75e73ae619ec055531682ab0205e6caed628..b2e74c07761c7de3f9b226e17cdba058ff1d6d2b 100644
(file)
--- 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);
/* Return keycode matched by keybinding to command of "name". */
extern uint16_t get_keycode_to_action(struct KeyBinding * keybindings,
char * name);