47 lines
3.4 KiB
JSON
47 lines
3.4 KiB
JSON
{
|
|
"header": "SDL_keyboard.h",
|
|
"opaque_types": [
|
|
],
|
|
"typedefs": [
|
|
{"name": "SDL_KeyboardID", "underlying_type": "Uint32"}
|
|
],
|
|
"function_pointers": [
|
|
],
|
|
"enums": [
|
|
{"name": "SDL_TextInputType", "values": []},
|
|
{"name": "SDL_Capitalization", "values": []}
|
|
],
|
|
"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 *"}]}
|
|
]
|
|
}
|