include/SDL_compat.h
changeset 2129 047245361002
parent 2043 adf732f1f016
child 2152 003c1b5b07da
     1.1 --- a/include/SDL_compat.h	Sat Jun 16 05:52:34 2007 +0000
     1.2 +++ b/include/SDL_compat.h	Sat Jun 16 15:32:04 2007 +0000
     1.3 @@ -64,6 +64,9 @@
     1.4  #define SDL_BUTTON_WHEELUP	4
     1.5  #define SDL_BUTTON_WHEELDOWN	5
     1.6  
     1.7 +#define SDL_DEFAULT_REPEAT_DELAY	500
     1.8 +#define SDL_DEFAULT_REPEAT_INTERVAL	30
     1.9 +
    1.10  typedef struct SDL_VideoInfo
    1.11  {
    1.12      Uint32 hw_available:1;
    1.13 @@ -173,6 +176,8 @@
    1.14                                                    SDL_Rect * dstrect);
    1.15  extern DECLSPEC void SDLCALL SDL_FreeYUVOverlay(SDL_Overlay * overlay);
    1.16  extern DECLSPEC void SDLCALL SDL_GL_SwapBuffers(void);
    1.17 +extern DECLSPEC int SDLCALL SDL_EnableKeyRepeat(int delay, int interval);
    1.18 +extern DECLSPEC void SDLCALL SDL_GetKeyRepeat(int *delay, int *interval);
    1.19  
    1.20  /* Ends C function definitions when using C++ */
    1.21  #ifdef __cplusplus