summaryrefslogtreecommitdiff
path: root/include/platforms
diff options
context:
space:
mode:
Diffstat (limited to 'include/platforms')
-rw-r--r--include/platforms/core_desktop.h16
-rw-r--r--include/platforms/core_desktop_sdl.h8
2 files changed, 24 insertions, 0 deletions
diff --git a/include/platforms/core_desktop.h b/include/platforms/core_desktop.h
new file mode 100644
index 0000000..c3da090
--- /dev/null
+++ b/include/platforms/core_desktop.h
@@ -0,0 +1,16 @@
+#pragma once
+
+enum EventType {
+ GLFW_WINDOW_SIZE_EVENT,
+ GLFW_WINDOW_MAXIMIZE_EVENT,
+ GLFW_WINDOW_ICONYFY_EVENT,
+ GLFW_WINDOW_FOCUS_EVENT,
+ GLFW_WINDOW_DROP_EVENT,
+ GLFW_KEY_EVENT,
+ GLFW_CHAR_EVENT,
+ GLFW_MOUSE_BUTTON_EVENT,
+ GLFW_MOUSE_CURSOR_POS_EVENT,
+ GLFW_MOUSE_SCROLL_EVENT,
+ GLFW_CURSOR_ENTER_EVENT,
+ GLFW_JOYSTICK_EVENT
+};
diff --git a/include/platforms/core_desktop_sdl.h b/include/platforms/core_desktop_sdl.h
new file mode 100644
index 0000000..479b2a1
--- /dev/null
+++ b/include/platforms/core_desktop_sdl.h
@@ -0,0 +1,8 @@
+#pragma once
+
+// #include "SDL.h"
+
+enum EventType {
+ SDL_WINDOW_EVENT,
+ SDL_KEYBOARD_EVENT
+};