X-Git-Url: https://plomlompom.com/repos/index.html?a=blobdiff_plain;f=keybindings.h;h=b0ff912944040920edfe6ee022c27d51c4e99f43;hb=cd5664da7685fccf97cd9027e3c193ebbf27a649;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);