src/events/SDL_keyboard_c.h
branchSDL-1.3
changeset 1724 6c63fc2bd986
parent 1720 a1ebb17f9c52
     1.1 --- a/src/events/SDL_keyboard_c.h	Thu Jul 06 05:53:32 2006 +0000
     1.2 +++ b/src/events/SDL_keyboard_c.h	Thu Jul 06 07:17:11 2006 +0000
     1.3 @@ -75,9 +75,15 @@
     1.4  /* Clear the state of a keyboard at an index */
     1.5  extern void SDL_ResetKeyboard(int index);
     1.6  
     1.7 +/* Set the keyboard focus window */
     1.8 +extern void SDL_SetKeyboardFocus(int index, SDL_WindowID windowID);
     1.9 +
    1.10  /* Send a keyboard event for a keyboard at an index */
    1.11 -extern int SDL_SendKeyboardKey(int index, SDL_WindowID windowID, Uint8 state,
    1.12 -                               SDL_keysym * keysym);
    1.13 +extern int SDL_SendKeyboardKey(int index, Uint8 state, Uint8 scancode,
    1.14 +                               SDLKey key);
    1.15 +
    1.16 +/* Send keyboard text input for a keyboard at an index */
    1.17 +extern int SDL_SendKeyboardText(int index, const char *text);
    1.18  
    1.19  /* Used by the event loop to queue pending keyboard repeat events */
    1.20  extern void SDL_CheckKeyRepeat(void);