comparison src/events/SDL_keyboard.c @ 1507:1ff64ad478b2

Fixed bug #112 Added SDL_GetKeyRepeat()
author Sam Lantinga <slouken@libsdl.org>
date Mon, 13 Mar 2006 01:41:32 +0000
parents d910939febfa
children 97d0966f4bf7
comparison
equal deleted inserted replaced
1506:dc057a602e98 1507:1ff64ad478b2
567 SDL_KeyRepeat.interval = interval; 567 SDL_KeyRepeat.interval = interval;
568 SDL_KeyRepeat.timestamp = 0; 568 SDL_KeyRepeat.timestamp = 0;
569 return(0); 569 return(0);
570 } 570 }
571 571
572 void SDL_GetKeyRepeat(int *delay, int *interval)
573 {
574 *delay = SDL_KeyRepeat.delay;
575 *interval = SDL_KeyRepeat.interval;
576 }
577