From 7c7dc660e587eac1aa3c8b3405eba95ba558e682 Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Sat, 15 Jun 2019 14:28:29 +0100 Subject: Big glfw refactor I did a lot of this in a very ad-hoc fashion with no proper commit history. As such, the kindest thing to do seemed to be to just squash it into this one commit. --- src/binds.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/binds.h') diff --git a/src/binds.h b/src/binds.h index 5af7b5a..608b57e 100644 --- a/src/binds.h +++ b/src/binds.h @@ -1,7 +1,7 @@ #ifndef IMV_BINDS_H #define IMV_BINDS_H -#include +#include struct imv_binds; struct list; @@ -35,7 +35,7 @@ const struct list *imv_bind_input_buffer(struct imv_binds *binds); void imv_bind_clear_input(struct imv_binds *binds); /* Handle an input event, if a bind is triggered, return its command */ -struct list *imv_bind_handle_event(struct imv_binds *binds, const SDL_Event *event); +struct list *imv_bind_handle_event(struct imv_binds *binds, const char *event); /* Convert a string (such as from a config) to a key list */ struct list *imv_bind_parse_keys(const char *keys); -- cgit v1.2.3