diff src/events/SDL_keyboard_c.h @ 4560:95352c671a6e

Added support for keyboard repeat (only tested on Windows so far)
author Sam Lantinga <slouken@libsdl.org>
date Tue, 20 Jul 2010 23:25:24 -0700
parents 3e69e077cb95
children e2d46c5c7483
line wrap: on
line diff
--- a/src/events/SDL_keyboard_c.h	Tue Jul 20 00:57:01 2010 -0700
+++ b/src/events/SDL_keyboard_c.h	Tue Jul 20 23:25:24 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);
+extern int SDL_SendKeyboardKey(Uint8 state, SDL_scancode scancode, SDL_bool repeat);
 
 /* Send keyboard text input */
 extern int SDL_SendKeyboardText(const char *text);