diff src/video/riscos/SDL_riscosevents.c @ 5083:25d4feb7c127

Renamed SDL_keysym to SDL_KeySym Renamed SDL_scancode to SDL_ScanCode Added #defines to SDL_compat.h
author krogoway
date Mon, 24 Jan 2011 13:47:35 -0600
parents f7b03b6838cb
children
line wrap: on
line diff
--- a/src/video/riscos/SDL_riscosevents.c	Sun Jan 23 21:55:04 2011 -0800
+++ b/src/video/riscos/SDL_riscosevents.c	Mon Jan 24 13:47:35 2011 -0600
@@ -69,7 +69,7 @@
 
 static char RO_pressed[ROKEYBD_ARRAYSIZE];
 
-static SDL_keysym *TranslateKey(int intkey, SDL_keysym * keysym, int pressed);
+static SDL_KeySym *TranslateKey(int intkey, SDL_KeySym * keysym, int pressed);
 
 void RISCOS_PollMouse(_THIS);
 void RISCOS_PollKeyboard();
@@ -366,7 +366,7 @@
     int which_key = ROKEY_LEFT_SHIFT;
     int j;
     int min_key, max_key;
-    SDL_keysym key;
+    SDL_KeySym key;
 
     /* Scan the keyboard to see what is pressed */
     while (which_key <= ROKEY_LAST_KEY) {
@@ -428,8 +428,8 @@
     }
 }
 
-static SDL_keysym *
-TranslateKey(int intkey, SDL_keysym * keysym, int pressed)
+static SDL_KeySym *
+TranslateKey(int intkey, SDL_KeySym * keysym, int pressed)
 {
     /* Set the keysym information */
     keysym->scancode = (unsigned char) intkey;