diff src/events/SDL_keyboard.c @ 1670:eef792d31de8 SDL-1.3

Work in progress. :)
author Sam Lantinga <slouken@libsdl.org>
date Wed, 07 Jun 2006 16:10:28 +0000
parents 4da1ee79c9af
children 624e1412fbba
line wrap: on
line diff
--- a/src/events/SDL_keyboard.c	Mon May 29 05:08:33 2006 +0000
+++ b/src/events/SDL_keyboard.c	Wed Jun 07 16:10:28 2006 +0000
@@ -326,7 +326,7 @@
     for (key = SDLK_FIRST; key < SDLK_LAST; ++key) {
         if (SDL_KeyState[key] == SDL_PRESSED) {
             keysym.sym = key;
-            SDL_PrivateKeyboard(SDL_RELEASED, &keysym);
+            SDL_SendKeyboard(SDL_RELEASED, &keysym);
         }
     }
     SDL_KeyRepeat.timestamp = 0;
@@ -382,7 +382,7 @@
 
 /* These are global for SDL_eventloop.c */
 int
-SDL_PrivateKeyboard(Uint8 state, SDL_keysym * keysym)
+SDL_SendKeyboard(Uint8 state, SDL_keysym * keysym)
 {
     SDL_Event event;
     int posted, repeatable;