SDL Events.

This commit is contained in:
jussi
2023-11-24 20:09:34 +02:00
parent 925afdf101
commit a1887aa866
12 changed files with 455 additions and 65 deletions

View File

@@ -1,8 +1,12 @@
#pragma once
// #include "SDL.h"
// #define SDL_EVENT_QUEUE_LEN 128
enum EventType {
SDL_WINDOW_EVENT,
SDL_KEYBOARD_EVENT
};
#include "SDL.h"
// typedef struct {
// int SDL_eventQueueLen;
// SDL_Event **SDL_eventQueue;
// } SDL_State;
// extern SDL_State *SDL_state;