include/SDL_keyboard.h
changeset 5081 25d4feb7c127
parent 4753 11b0a6a3eb4d
child 5218 572a73d71b5f
     1.1 --- a/include/SDL_keyboard.h	Sun Jan 23 21:55:04 2011 -0800
     1.2 +++ b/include/SDL_keyboard.h	Mon Jan 24 13:47:35 2011 -0600
     1.3 @@ -45,13 +45,13 @@
     1.4  /**
     1.5   *  \brief The SDL keysym structure, used in key events.
     1.6   */
     1.7 -typedef struct SDL_keysym
     1.8 +typedef struct SDL_KeySym
     1.9  {
    1.10 -    SDL_scancode scancode;      /**< SDL physical key code - see ::SDL_scancode for details */
    1.11 +    SDL_ScanCode scancode;      /**< SDL physical key code - see ::SDL_ScanCode for details */
    1.12      SDLKey sym;                 /**< SDL virtual key code - see ::SDLKey for details */
    1.13      Uint16 mod;                 /**< current key modifiers */
    1.14      Uint32 unicode;             /**< \deprecated use SDL_TextInputEvent instead */
    1.15 -} SDL_keysym;
    1.16 +} SDL_KeySym;
    1.17  
    1.18  /* Function prototypes */
    1.19  
    1.20 @@ -65,7 +65,7 @@
    1.21   *  
    1.22   *  \param numkeys if non-NULL, receives the length of the returned array.
    1.23   *  
    1.24 - *  \return An array of key states. Indexes into this array are obtained by using ::SDL_scancode values.
    1.25 + *  \return An array of key states. Indexes into this array are obtained by using ::SDL_ScanCode values.
    1.26   *  
    1.27   *  \b Example:
    1.28   *  \code
    1.29 @@ -97,17 +97,17 @@
    1.30   *  
    1.31   *  \sa SDL_GetKeyName()
    1.32   */
    1.33 -extern DECLSPEC SDLKey SDLCALL SDL_GetKeyFromScancode(SDL_scancode scancode);
    1.34 +extern DECLSPEC SDLKey SDLCALL SDL_GetKeyFromScancode(SDL_ScanCode scancode);
    1.35  
    1.36  /**
    1.37   *  \brief Get the scancode corresponding to the given key code according to the
    1.38   *         current keyboard layout.
    1.39   *  
    1.40 - *  See ::SDL_scancode for details.
    1.41 + *  See ::SDL_ScanCode for details.
    1.42   *  
    1.43   *  \sa SDL_GetScancodeName()
    1.44   */
    1.45 -extern DECLSPEC SDL_scancode SDLCALL SDL_GetScancodeFromKey(SDLKey key);
    1.46 +extern DECLSPEC SDL_ScanCode SDLCALL SDL_GetScancodeFromKey(SDLKey key);
    1.47  
    1.48  /**
    1.49   *  \brief Get a human-readable name for a scancode.
    1.50 @@ -117,9 +117,9 @@
    1.51   *          copy it.  If the scancode doesn't have a name, this function returns
    1.52   *          an empty string ("").
    1.53   *
    1.54 - *  \sa SDL_scancode
    1.55 + *  \sa SDL_ScanCode
    1.56   */
    1.57 -extern DECLSPEC const char *SDLCALL SDL_GetScancodeName(SDL_scancode
    1.58 +extern DECLSPEC const char *SDLCALL SDL_GetScancodeName(SDL_ScanCode
    1.59                                                          scancode);
    1.60  
    1.61  /**