Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
4563:ffd169948438 | 4565:e2d46c5c7483 |
---|---|
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, SDL_bool repeat); | 52 extern int SDL_SendKeyboardKey(Uint8 state, SDL_scancode scancode); |
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 */ |