From 879fb2adefadbc5f38711cd8f01bcc4cee053e3d Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Tue, 2 Mar 2021 09:44:19 +0100 Subject: i hate cmake, g++, ld, collect2, cc1, x86_64-w64-mingw32 --- mkb/mkb.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mkb/mkb.h') diff --git a/mkb/mkb.h b/mkb/mkb.h index 74b1a47..79c6058 100644 --- a/mkb/mkb.h +++ b/mkb/mkb.h @@ -1,7 +1,7 @@ #ifndef MKB_H #define MKB_H -#include +#include // SDL2 mouse and keyboard @@ -16,8 +16,8 @@ typedef struct { } MKb; void mkb_init(MKb *mkb); -bool mkb_search(MKb *mkb, SDL_Scancode scancode); -bool mkb_statesearch(MKb *mkb, SDL_Scancode scancode); +int mkb_search(MKb *mkb, SDL_Scancode scancode); +int mkb_statesearch(MKb *mkb, SDL_Scancode scancode); void mkb_event(MKb *mkb, SDL_Event *e); void mkb_process(MKb *mkb); -- cgit v1.2.3-54-g00ecf