home · contact · privacy
Moved keybindings manipulation stuff into its own library.
[plomrogue] / keybindings.h
1 struct KeyBinding {
2   char * name;
3   int key; };
4
5 struct KeysWinData {
6   int max;
7   char edit;
8   int select; };
9
10 void init_keybindings(struct World *);
11 void save_keybindings(struct World *);
12 int get_action_key (struct KeyBinding *, char *);
13 char * get_keyname(int);
14 void keyswin_mod_key (struct World *, struct WinMeta *);
15 void keyswin_move_selection (struct World *, char);