 +static SDLKey keymap[128];
 +
 +#define EVENT_NONE 0
-+#define EVENT_MOUSE 1
-+#define EVENT_KEY 2
-+#define EVENT_QUIT 3
++#define EVENT_KEY 1
++#define EVENT_MOUSE 2
++#define EVENT_BUTTON 3
++#define EVENT_SCROLL 4
++#define EVENT_QUIT 5
++#define EVENT_FOCUS 6
++#define EVENT_MOVE 7
++#define EVENT_RESIZE 8
++#define EVENT_SCREEN 9
 +
 +struct Event {
 +    int64_t code;
 +    int64_t a;
 +    int64_t b;
-+    int64_t c;
 +} __attribute__((packed));
 +
 +void ORBITAL_PumpEvents(_THIS)

 #undef SDL_VIDEO_DRIVER_OS2FS
 #undef SDL_VIDEO_DRIVER_PHOTON
 #undef SDL_VIDEO_DRIVER_PICOGUI
diff -rupN sdl/src/video/orbital/SDL_orbitalevents.c sdl-redox/src/video/orbital/SDL_orbitalevents.c
--- sdl/src/video/orbital/SDL_orbitalevents.c	1969-12-31 17:00:00.000000000 -0700
+++ sdl-redox/src/video/orbital/SDL_orbitalevents.c	2017-11-21 19:24:52.460053442 -0700
@@ -0,0 +1,159 @@
+/*
+    SDL - Simple DirectMedia Layer
+    Copyright (C) 1997-2012 Sam Lantinga

 #if SDL_VIDEO_DRIVER_DUMMY
 extern VideoBootStrap DUMMY_bootstrap;
 #endif
diff -rupN source/src/video/SDL_video.c source_orbital/src/video/SDL_video.c
--- source/src/video/SDL_video.c	2012-01-19 07:30:06.000000000 +0100
+++ source_orbital/src/video/SDL_video.c	2018-02-21 09:33:43.350278392 +0100
@@ -126,6 +126,9 @@ static VideoBootStrap *bootstrap[] = {
 #if SDL_VIDEO_DRIVER_CACA
 	&CACA_bootstrap,
