Angband
ui-keymap.h
Go to the documentation of this file.
1 
19 #ifndef UI_KEYMAP_H
20 #define UI_KEYMAP_H
21 
25 #define KEYMAP_ACTION_MAX 20
26 
30 enum {
33 
35 };
36 
40 const struct keypress *keymap_find(int keymap, struct keypress kc);
41 
45 void keymap_add(int keymap, struct keypress trigger, struct keypress *actions, bool user);
46 
50 bool keymap_remove(int keymap, struct keypress trigger);
51 
55 void keymap_free(void);
56 
60 void keymap_dump(ang_file *fff);
61 
62 #endif /* UI_KEYMAP_H */