aboutsummaryrefslogtreecommitdiff
path: root/mkb/mkb.h
diff options
context:
space:
mode:
Diffstat (limited to 'mkb/mkb.h')
-rw-r--r--mkb/mkb.h6
1 files changed, 3 insertions, 3 deletions
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 <SDL.h>
+#include <SDL2/SDL.h>
// 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);