X-Git-Url: https://plomlompom.com/repos/index.html?a=blobdiff_plain;f=keybindings.h;h=b0ff912944040920edfe6ee022c27d51c4e99f43;hb=018565cc4592702368c948c579bcca3f35d5ca04;hp=3295f2d0bbfa171b53a1f54f2ae449863ea124a9;hpb=122747fbbdc061942de2fc2bca901a44a6b4ab61;p=plomrogue
diff --git a/keybindings.h b/keybindings.h
index 3295f2d..b0ff912 100644
--- a/keybindings.h
+++ b/keybindings.h
@@ -1,15 +1,15 @@
struct KeyBinding {
char * name;
- int key; };
+ uint16_t key; };
struct KeysWinData {
- int max;
+ uint16_t max;
char edit;
- int select; };
+ uint16_t select; };
void init_keybindings(struct World *);
void save_keybindings(struct World *);
-int get_action_key (struct KeyBinding *, char *);
-char * get_keyname(int);
+uint16_t get_action_key (struct KeyBinding *, char *);
+char * get_keyname(uint16_t);
void keyswin_mod_key (struct World *, struct WinMeta *);
void keyswin_move_selection (struct World *, char);