include/SDL_keyboard.h
branchSDL-1.3
changeset 1668 4da1ee79c9af
parent 1662 782fd950bd46
child 1673 624e1412fbba
     1.1 --- a/include/SDL_keyboard.h	Mon May 29 03:53:21 2006 +0000
     1.2 +++ b/include/SDL_keyboard.h	Mon May 29 04:04:35 2006 +0000
     1.3 @@ -77,7 +77,7 @@
     1.4   * If 'enable' is -1, the translation state is not changed.
     1.5   * It returns the previous state of keyboard translation.
     1.6   */
     1.7 -extern DECLSPEC int SDLCALL SDL_EnableUNICODE (int enable);
     1.8 +extern DECLSPEC int SDLCALL SDL_EnableUNICODE(int enable);
     1.9  
    1.10  /*
    1.11   * Enable/Disable keyboard repeat.  Keyboard repeat defaults to off.
    1.12 @@ -90,8 +90,8 @@
    1.13  /*
    1.14   * If 'delay' is set to 0, keyboard repeat is disabled.
    1.15   */
    1.16 -extern DECLSPEC int SDLCALL SDL_EnableKeyRepeat (int delay, int interval);
    1.17 -extern DECLSPEC void SDLCALL SDL_GetKeyRepeat (int *delay, int *interval);
    1.18 +extern DECLSPEC int SDLCALL SDL_EnableKeyRepeat(int delay, int interval);
    1.19 +extern DECLSPEC void SDLCALL SDL_GetKeyRepeat(int *delay, int *interval);
    1.20  
    1.21  /*
    1.22   * Get a snapshot of the current state of the keyboard.
    1.23 @@ -100,23 +100,23 @@
    1.24   * 	Uint8 *keystate = SDL_GetKeyState(NULL);
    1.25   *	if ( keystate[SDLK_RETURN] ) ... <RETURN> is pressed.
    1.26   */
    1.27 -extern DECLSPEC Uint8 *SDLCALL SDL_GetKeyState (int *numkeys);
    1.28 +extern DECLSPEC Uint8 *SDLCALL SDL_GetKeyState(int *numkeys);
    1.29  
    1.30  /*
    1.31   * Get the current key modifier state
    1.32   */
    1.33 -extern DECLSPEC SDLMod SDLCALL SDL_GetModState (void);
    1.34 +extern DECLSPEC SDLMod SDLCALL SDL_GetModState(void);
    1.35  
    1.36  /*
    1.37   * Set the current key modifier state
    1.38   * This does not change the keyboard state, only the key modifier flags.
    1.39   */
    1.40 -extern DECLSPEC void SDLCALL SDL_SetModState (SDLMod modstate);
    1.41 +extern DECLSPEC void SDLCALL SDL_SetModState(SDLMod modstate);
    1.42  
    1.43  /*
    1.44   * Get the name of an SDL virtual keysym
    1.45   */
    1.46 -extern DECLSPEC char *SDLCALL SDL_GetKeyName (SDLKey key);
    1.47 +extern DECLSPEC char *SDLCALL SDL_GetKeyName(SDLKey key);
    1.48  
    1.49  
    1.50  /* Ends C function definitions when using C++ */