Mercurial > sdl-ios-xcode
diff src/events/SDL_keyboard_c.h @ 2129:047245361002
Key repeat is handled by the OS, since text input is now decoupled from physical key events.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 16 Jun 2007 15:32:04 +0000 |
parents | c121d94672cb |
children | 4baee598306d |
line wrap: on
line diff
--- a/src/events/SDL_keyboard_c.h Sat Jun 16 05:52:34 2007 +0000 +++ b/src/events/SDL_keyboard_c.h Sat Jun 16 15:32:04 2007 +0000 @@ -39,16 +39,6 @@ Uint16 modstate; Uint8 keystate[SDLK_LAST]; - struct - { - int firsttime; /* if we check against the delay or repeat value */ - int delay; /* the delay before we start repeating */ - int interval; /* the delay between key repeat events */ - Uint32 timestamp; /* the time the first keydown event occurred */ - - SDL_Event evt; /* the event we are supposed to repeat */ - } repeat; - void *driverdata; }; @@ -85,9 +75,6 @@ /* Send keyboard text input for a keyboard at an index */ extern int SDL_SendKeyboardText(int index, const char *text); -/* Used by the event loop to queue pending keyboard repeat events */ -extern void SDL_CheckKeyRepeat(void); - /* Shutdown the keyboard subsystem */ extern void SDL_KeyboardQuit(void);