diff src/events/SDL_keyboard_c.h @ 4565:e2d46c5c7483

Fixed key repeat detection on X11, and simplified the code for everyone else.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 21 Jul 2010 21:47:12 -0700
parents 95352c671a6e
children 25d4feb7c127
line wrap: on
line diff
--- a/src/events/SDL_keyboard_c.h	Wed Jul 21 00:11:56 2010 -0700
+++ b/src/events/SDL_keyboard_c.h	Wed Jul 21 21:47:12 2010 -0700
@@ -49,7 +49,7 @@
 extern void SDL_SetKeyboardFocus(SDL_Window * window);
 
 /* Send a keyboard key event */
-extern int SDL_SendKeyboardKey(Uint8 state, SDL_scancode scancode, SDL_bool repeat);
+extern int SDL_SendKeyboardKey(Uint8 state, SDL_scancode scancode);
 
 /* Send keyboard text input */
 extern int SDL_SendKeyboardText(const char *text);