{ "header": "SDL_keyboard.h", "opaque_types": [], "typedefs": [ { "name": "SDL_KeyboardID", "underlying_type": "Uint32" } ], "function_pointers": [], "c_type_aliases": [], "enums": [ { "name": "SDL_TextInputType", "values": [ { "name": "SDL_TEXTINPUT_TYPE_TEXT", "comment": "The input is text" }, { "name": "SDL_TEXTINPUT_TYPE_TEXT_NAME", "comment": "The input is a person's name" }, { "name": "SDL_TEXTINPUT_TYPE_TEXT_EMAIL", "comment": "The input is an e-mail address" }, { "name": "SDL_TEXTINPUT_TYPE_TEXT_USERNAME", "comment": "The input is a username" }, { "name": "SDL_TEXTINPUT_TYPE_TEXT_PASSWORD_HIDDEN", "comment": "The input is a secure password that is hidden" }, { "name": "SDL_TEXTINPUT_TYPE_TEXT_PASSWORD_VISIBLE", "comment": "The input is a secure password that is visible" }, { "name": "SDL_TEXTINPUT_TYPE_NUMBER", "comment": "The input is a number" }, { "name": "SDL_TEXTINPUT_TYPE_NUMBER_PASSWORD_HIDDEN", "comment": "The input is a secure PIN that is hidden" }, { "name": "SDL_TEXTINPUT_TYPE_NUMBER_PASSWORD_VISIBLE", "comment": "The input is a secure PIN that is visible" } ] }, { "name": "SDL_Capitalization", "values": [ { "name": "SDL_CAPITALIZE_NONE", "comment": "No auto-capitalization will be done" }, { "name": "SDL_CAPITALIZE_SENTENCES", "comment": "The first letter of sentences will be capitalized" }, { "name": "SDL_CAPITALIZE_WORDS", "comment": "The first letter of words will be capitalized" }, { "name": "SDL_CAPITALIZE_LETTERS", "comment": "All letters will be capitalized" } ] } ], "structs": [], "unions": [], "flags": [], "functions": [ { "name": "SDL_HasKeyboard", "return_type": "bool", "parameters": [] }, { "name": "SDL_GetKeyboards", "return_type": "SDL_KeyboardID *", "parameters": [ { "name": "count", "type": "int *" } ] }, { "name": "SDL_GetKeyboardNameForID", "return_type": "const char *", "parameters": [ { "name": "instance_id", "type": "SDL_KeyboardID" } ] }, { "name": "SDL_GetKeyboardFocus", "return_type": "SDL_Window *", "parameters": [] }, { "name": "SDL_GetKeyboardState", "return_type": "const bool *", "parameters": [ { "name": "numkeys", "type": "int *" } ] }, { "name": "SDL_ResetKeyboard", "return_type": "void", "parameters": [] }, { "name": "SDL_GetModState", "return_type": "SDL_Keymod", "parameters": [] }, { "name": "SDL_SetModState", "return_type": "void", "parameters": [ { "name": "modstate", "type": "SDL_Keymod" } ] }, { "name": "SDL_GetKeyFromScancode", "return_type": "SDL_Keycode", "parameters": [ { "name": "scancode", "type": "SDL_Scancode" }, { "name": "modstate", "type": "SDL_Keymod" }, { "name": "key_event", "type": "bool" } ] }, { "name": "SDL_GetScancodeFromKey", "return_type": "SDL_Scancode", "parameters": [ { "name": "key", "type": "SDL_Keycode" }, { "name": "modstate", "type": "SDL_Keymod *" } ] }, { "name": "SDL_SetScancodeName", "return_type": "bool", "parameters": [ { "name": "scancode", "type": "SDL_Scancode" }, { "name": "name", "type": "const char *" } ] }, { "name": "SDL_GetScancodeName", "return_type": "const char *", "parameters": [ { "name": "scancode", "type": "SDL_Scancode" } ] }, { "name": "SDL_GetScancodeFromName", "return_type": "SDL_Scancode", "parameters": [ { "name": "name", "type": "const char *" } ] }, { "name": "SDL_GetKeyName", "return_type": "const char *", "parameters": [ { "name": "key", "type": "SDL_Keycode" } ] }, { "name": "SDL_GetKeyFromName", "return_type": "SDL_Keycode", "parameters": [ { "name": "name", "type": "const char *" } ] }, { "name": "SDL_StartTextInput", "return_type": "bool", "parameters": [ { "name": "window", "type": "SDL_Window *" } ] }, { "name": "SDL_StartTextInputWithProperties", "return_type": "bool", "parameters": [ { "name": "window", "type": "SDL_Window *" }, { "name": "props", "type": "SDL_PropertiesID" } ] }, { "name": "SDL_TextInputActive", "return_type": "bool", "parameters": [ { "name": "window", "type": "SDL_Window *" } ] }, { "name": "SDL_StopTextInput", "return_type": "bool", "parameters": [ { "name": "window", "type": "SDL_Window *" } ] }, { "name": "SDL_ClearComposition", "return_type": "bool", "parameters": [ { "name": "window", "type": "SDL_Window *" } ] }, { "name": "SDL_SetTextInputArea", "return_type": "bool", "parameters": [ { "name": "window", "type": "SDL_Window *" }, { "name": "rect", "type": "const SDL_Rect *" }, { "name": "cursor", "type": "int" } ] }, { "name": "SDL_GetTextInputArea", "return_type": "bool", "parameters": [ { "name": "window", "type": "SDL_Window *" }, { "name": "rect", "type": "SDL_Rect *" }, { "name": "cursor", "type": "int *" } ] }, { "name": "SDL_HasScreenKeyboardSupport", "return_type": "bool", "parameters": [] }, { "name": "SDL_ScreenKeyboardShown", "return_type": "bool", "parameters": [ { "name": "window", "type": "SDL_Window *" } ] } ] }