src/events/SDL_keyboard_c.h
changeset 2268 4baee598306d
parent 2129 047245361002
child 2300 c97ad1abe05b
     1.1 --- a/src/events/SDL_keyboard_c.h	Sat Aug 18 05:39:09 2007 +0000
     1.2 +++ b/src/events/SDL_keyboard_c.h	Sun Aug 19 14:52:52 2007 +0000
     1.3 @@ -65,6 +65,12 @@
     1.4  /* Clear the state of a keyboard at an index */
     1.5  extern void SDL_ResetKeyboard(int index);
     1.6  
     1.7 +/* Set a platform-dependent key name, overriding the default platform-agnostic
     1.8 +   name. Encoded as UTF-8. The string is not copied, thus the pointer given to
     1.9 +   this function must stay valid forever (or at least until the call to
    1.10 +   VideoQuit()). */
    1.11 +extern void SDL_SetKeyName(SDLKey physicalKey, const char *name);
    1.12 +
    1.13  /* Set the keyboard focus window */
    1.14  extern void SDL_SetKeyboardFocus(int index, SDL_WindowID windowID);
    1.15