home · contact · privacy
Added #include guards.
[plomrogue] / src / keybindings.h
1 #ifndef KEYBINDINGS_H
2
3 struct KeyBinding {
4   char * name;
5   uint16_t key; };
6
7 struct KeysWinData {
8   uint16_t max;
9   char edit;
10   uint16_t select; };
11
12 void init_keybindings(struct World *);
13 void save_keybindings(struct World *);
14 uint16_t get_action_key (struct KeyBinding *, char *);
15 char * get_keyname(uint16_t);
16 void keyswin_mod_key (struct World *, struct WinMeta *);
17 void keyswin_move_selection (struct World *, char);
18
19 #endif