|
SDL
2.0
|
Include dependency graph for SDL_keyboard_c.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| int | SDL_KeyboardInit (void) |
| void | SDL_ResetKeyboard (void) |
| void | SDL_GetDefaultKeymap (SDL_Keycode *keymap) |
| void | SDL_SetKeymap (int start, SDL_Keycode *keys, int length) |
| void | SDL_SetScancodeName (SDL_Scancode scancode, const char *name) |
| void | SDL_SetKeyboardFocus (SDL_Window *window) |
| int | SDL_SendKeyboardKey (Uint8 state, SDL_Scancode scancode) |
| int | SDL_SendKeyboardKeyAutoRelease (SDL_Scancode scancode) |
| void | SDL_ReleaseAutoReleaseKeys (void) |
| SDL_bool | SDL_HardwareKeyboardKeyPressed (void) |
| int | SDL_SendKeyboardText (const char *text) |
| int | SDL_SendEditingText (const char *text, int start, int end) |
| void | SDL_KeyboardQuit (void) |
| char * | SDL_UCS4ToUTF8 (Uint32 ch, char *dst) |
| void | SDL_ToggleModState (const SDL_Keymod modstate, const SDL_bool toggle) |
| void SDL_GetDefaultKeymap | ( | SDL_Keycode * | keymap | ) |
Definition at line 592 of file SDL_keyboard.c.
References SDL_default_keymap, and SDL_memcpy.
Definition at line 834 of file SDL_keyboard.c.
References KEYBOARD_HARDWARE, SDL_Keyboard::keysource, SDL_FALSE, SDL_keyboard, SDL_NUM_SCANCODES, SDL_SCANCODE_UNKNOWN, and SDL_TRUE.
Definition at line 566 of file SDL_keyboard.c.
References SDL_Keyboard::keymap, SDL_default_keymap, SDL_keyboard, and SDL_memcpy.
Referenced by SDL_VideoInit().
Definition at line 818 of file SDL_keyboard.c.
References SDL_Keyboard::autorelease_pending, KEYBOARD_AUTORELEASE, SDL_Keyboard::keysource, SDL_FALSE, SDL_keyboard, SDL_NUM_SCANCODES, SDL_RELEASED, SDL_SCANCODE_UNKNOWN, and SDL_SendKeyboardKeyInternal().
Referenced by SDL_PumpEvents().
Definition at line 576 of file SDL_keyboard.c.
References SDL_Keyboard::keystate, SDL_keyboard, SDL_NUM_SCANCODES, SDL_PRESSED, SDL_RELEASED, and SDL_SendKeyboardKey().
Referenced by SDL_SetKeyboardFocus(), and SDL_ShowMessageBox().
Definition at line 871 of file SDL_keyboard.c.
References SDL_Keyboard::focus, SDL_Window::id, SDL_arraysize, SDL_ENABLE, SDL_GetEventState, SDL_keyboard, SDL_PushEvent, SDL_TEXTEDITING, SDL_utf8strlcpy, and text.
Referenced by DBus_MessageFilter().
| int SDL_SendKeyboardKey | ( | Uint8 | state, |
| SDL_Scancode | scancode | ||
| ) |
Definition at line 806 of file SDL_keyboard.c.
References KEYBOARD_HARDWARE, SDL_SendKeyboardKeyInternal(), and state.
Referenced by SDL_BApp::_HandleKey(), handleKeyboardEvent(), SDL_ResetKeyboard(), and WINRT_OnBackButtonPressed().
| int SDL_SendKeyboardKeyAutoRelease | ( | SDL_Scancode | scancode | ) |
Definition at line 812 of file SDL_keyboard.c.
References KEYBOARD_AUTORELEASE, SDL_PRESSED, and SDL_SendKeyboardKeyInternal().
| int SDL_SendKeyboardText | ( | const char * | text | ) |
Definition at line 848 of file SDL_keyboard.c.
References SDL_Keyboard::focus, SDL_Window::id, SDL_arraysize, SDL_ENABLE, SDL_GetEventState, SDL_keyboard, SDL_PushEvent, SDL_TEXTINPUT, SDL_utf8strlcpy, and text.
Referenced by SDL_BApp::_HandleKey(), and DBus_MessageFilter().
| void SDL_SetKeyboardFocus | ( | SDL_Window * | window | ) |
Definition at line 634 of file SDL_keyboard.c.
References SDL_Window::flags, SDL_Keyboard::focus, SDL_assert, SDL_CaptureMouse, SDL_EventState, SDL_FALSE, SDL_GetVideoDevice(), SDL_keyboard, SDL_QUERY, SDL_ResetKeyboard(), SDL_SendWindowEvent(), SDL_TEXTINPUT, SDL_WINDOW_MOUSE_CAPTURE, SDL_WINDOWEVENT_FOCUS_GAINED, SDL_WINDOWEVENT_FOCUS_LOST, SDL_VideoDevice::StartTextInput, and SDL_VideoDevice::StopTextInput.
Referenced by SDL_BApp::_HandleKeyboardFocus(), and SDL_DestroyWindow().
| void SDL_SetKeymap | ( | int | start, |
| SDL_Keycode * | keys, | ||
| int | length | ||
| ) |
Definition at line 598 of file SDL_keyboard.c.
References SDL_Keyboard::keymap, SDL_keyboard, SDL_memcpy, SDL_NUM_SCANCODES, SDL_SCANCODE_0, SDL_SCANCODE_1, SDL_SCANCODE_9, SDLK_0, and SDLK_1.
| void SDL_SetScancodeName | ( | SDL_Scancode | scancode, |
| const char * | name | ||
| ) |
Definition at line 620 of file SDL_keyboard.c.
References SDL_scancode_names.
| void SDL_ToggleModState | ( | const SDL_Keymod | modstate, |
| const SDL_bool | toggle | ||
| ) |
| char* SDL_UCS4ToUTF8 | ( | Uint32 | ch, |
| char * | dst | ||
| ) |