include/SDL_keyboard.h
changeset 1507 1ff64ad478b2
parent 1358 c71e05b4dc2e
child 1662 782fd950bd46
child 1895 c121d94672cb
child 4159 a1b03ba2fcd0
equal deleted inserted replaced
1506:dc057a602e98 1507:1ff64ad478b2
    82 #define SDL_DEFAULT_REPEAT_INTERVAL	30
    82 #define SDL_DEFAULT_REPEAT_INTERVAL	30
    83 /*
    83 /*
    84  * If 'delay' is set to 0, keyboard repeat is disabled.
    84  * If 'delay' is set to 0, keyboard repeat is disabled.
    85  */
    85  */
    86 extern DECLSPEC int SDLCALL SDL_EnableKeyRepeat(int delay, int interval);
    86 extern DECLSPEC int SDLCALL SDL_EnableKeyRepeat(int delay, int interval);
       
    87 extern DECLSPEC void SDLCALL SDL_GetKeyRepeat(int *delay, int *interval);
    87 
    88 
    88 /*
    89 /*
    89  * Get a snapshot of the current state of the keyboard.
    90  * Get a snapshot of the current state of the keyboard.
    90  * Returns an array of keystates, indexed by the SDLK_* syms.
    91  * Returns an array of keystates, indexed by the SDLK_* syms.
    91  * Used:
    92  * Used: