diff src/video/cocoa/SDL_cocoavideo.h @ 1959:25d6537feea4

Implemented Cocoa key event handling.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 30 Jul 2006 05:18:33 +0000
parents 83946ee0ff1f
children 13cf2d5eda86
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoavideo.h	Sat Jul 29 23:00:15 2006 +0000
+++ b/src/video/cocoa/SDL_cocoavideo.h	Sun Jul 30 05:18:33 2006 +0000
@@ -27,6 +27,7 @@
 #include <ApplicationServices/ApplicationServices.h>
 #include <Cocoa/Cocoa.h>
 
+#include "SDL_keysym.h"
 #include "../SDL_sysvideo.h"
 
 #include "SDL_cocoaevents.h"
@@ -40,6 +41,9 @@
 
 typedef struct SDL_VideoData
 {
+    SInt32 osversion;
+    SDLKey keymap[256];
+    unsigned int modifierFlags;
     int mouse;
     int keyboard;
 } SDL_VideoData;