X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=inline;f=src%2Fkeybindings.h;fp=src%2Fkeybindings.h;h=b0ff912944040920edfe6ee022c27d51c4e99f43;hb=e9d8b1aca776341c9cdaa2ea6406336661d82a76;hp=0000000000000000000000000000000000000000;hpb=e4208c726efd55a3a5ff2be966d3fbd7d38ba9e3;p=plomrogue
diff --git a/src/keybindings.h b/src/keybindings.h
new file mode 100644
index 0000000..b0ff912
--- /dev/null
+++ b/src/keybindings.h
@@ -0,0 +1,15 @@
+struct KeyBinding {
+ char * name;
+ uint16_t key; };
+
+struct KeysWinData {
+ uint16_t max;
+ char edit;
+ uint16_t select; };
+
+void init_keybindings(struct World *);
+void save_keybindings(struct World *);
+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);