Lines Matching refs:interval
45 int interval; /* the delay between key repeat events */
576 Uint32 now, interval;
579 interval = (now - SDL_KeyRepeat.timestamp);
581 if ( interval > (Uint32)SDL_KeyRepeat.delay ) {
586 if ( interval > (Uint32)SDL_KeyRepeat.interval ) {
596 int SDL_EnableKeyRepeat(int delay, int interval)
598 if ( (delay < 0) || (interval < 0) ) {
604 SDL_KeyRepeat.interval = interval;
609 void SDL_GetKeyRepeat(int *delay, int *interval)
612 *interval = SDL_KeyRepeat.interval;