include/SDL_keyboard.h
changeset 10271 e8281b14970c
parent 9998 f67cf37e9cd4
equal deleted inserted replaced
10270:724516f210e6 10271:e8281b14970c
   134  *  \return A pointer to a UTF-8 string that stays valid at least until the next
   134  *  \return A pointer to a UTF-8 string that stays valid at least until the next
   135  *          call to this function. If you need it around any longer, you must
   135  *          call to this function. If you need it around any longer, you must
   136  *          copy it.  If the key doesn't have a name, this function returns an
   136  *          copy it.  If the key doesn't have a name, this function returns an
   137  *          empty string ("").
   137  *          empty string ("").
   138  *
   138  *
   139  *  \sa SDL_Key
   139  *  \sa SDL_Keycode
   140  */
   140  */
   141 extern DECLSPEC const char *SDLCALL SDL_GetKeyName(SDL_Keycode key);
   141 extern DECLSPEC const char *SDLCALL SDL_GetKeyName(SDL_Keycode key);
   142 
   142 
   143 /**
   143 /**
   144  *  \brief Get a key code from a human-readable name
   144  *  \brief Get a key code from a human-readable name