comparison 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
comparison
equal deleted inserted replaced
4559:f8c3870af5a2 4560:95352c671a6e
47 47
48 /* Set the keyboard focus window */ 48 /* Set the keyboard focus window */
49 extern void SDL_SetKeyboardFocus(SDL_Window * window); 49 extern void SDL_SetKeyboardFocus(SDL_Window * window);
50 50
51 /* Send a keyboard key event */ 51 /* Send a keyboard key event */
52 extern int SDL_SendKeyboardKey(Uint8 state, SDL_scancode scancode); 52 extern int SDL_SendKeyboardKey(Uint8 state, SDL_scancode scancode, SDL_bool repeat);
53 53
54 /* Send keyboard text input */ 54 /* Send keyboard text input */
55 extern int SDL_SendKeyboardText(const char *text); 55 extern int SDL_SendKeyboardText(const char *text);
56 56
57 /* Send editing text for selected range from start to end */ 57 /* Send editing text for selected range from start to end */