comparison src/events/SDL_keyboard_c.h @ 1724:6c63fc2bd986 SDL-1.3

Proof of concept done - Win32 GDI implementation mostly complete.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 06 Jul 2006 07:17:11 +0000
parents a1ebb17f9c52
children
comparison
equal deleted inserted replaced
1723:4bdbb9b2bd0a 1724:6c63fc2bd986
73 extern void SDL_DelKeyboard(int index); 73 extern void SDL_DelKeyboard(int index);
74 74
75 /* Clear the state of a keyboard at an index */ 75 /* Clear the state of a keyboard at an index */
76 extern void SDL_ResetKeyboard(int index); 76 extern void SDL_ResetKeyboard(int index);
77 77
78 /* Set the keyboard focus window */
79 extern void SDL_SetKeyboardFocus(int index, SDL_WindowID windowID);
80
78 /* Send a keyboard event for a keyboard at an index */ 81 /* Send a keyboard event for a keyboard at an index */
79 extern int SDL_SendKeyboardKey(int index, SDL_WindowID windowID, Uint8 state, 82 extern int SDL_SendKeyboardKey(int index, Uint8 state, Uint8 scancode,
80 SDL_keysym * keysym); 83 SDLKey key);
84
85 /* Send keyboard text input for a keyboard at an index */
86 extern int SDL_SendKeyboardText(int index, const char *text);
81 87
82 /* Used by the event loop to queue pending keyboard repeat events */ 88 /* Used by the event loop to queue pending keyboard repeat events */
83 extern void SDL_CheckKeyRepeat(void); 89 extern void SDL_CheckKeyRepeat(void);
84 90
85 /* Shutdown the keyboard subsystem */ 91 /* Shutdown the keyboard subsystem */