X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=keybindings.h;fp=keybindings.h;h=3295f2d0bbfa171b53a1f54f2ae449863ea124a9;hb=122747fbbdc061942de2fc2bca901a44a6b4ab61;hp=0000000000000000000000000000000000000000;hpb=a470e49ace2874380e6018a6166dd2a61e3c689c;p=plomrogue diff --git a/keybindings.h b/keybindings.h new file mode 100644 index 0000000..3295f2d --- /dev/null +++ b/keybindings.h @@ -0,0 +1,15 @@ +struct KeyBinding { + char * name; + int key; }; + +struct KeysWinData { + int max; + char edit; + int select; }; + +void init_keybindings(struct World *); +void save_keybindings(struct World *); +int get_action_key (struct KeyBinding *, char *); +char * get_keyname(int); +void keyswin_mod_key (struct World *, struct WinMeta *); +void keyswin_move_selection (struct World *, char);