sdl2/generated/lib_sdl_keyboard library
Functions
-
sdlClearComposition(
) → void - Dismiss the composition window/IME without disabling the subsystem.
-
sdlGetKeyboardFocus(
) → Pointer< SdlWindow> - Query the window which currently has keyboard focus.
-
sdlGetKeyboardState(
Pointer< Int32> numkeys) → Pointer<Uint8> - Get a snapshot of the current state of the keyboard.
-
sdlGetKeyFromName(
String? name) → int - Get a key code from a human-readable name.
-
sdlGetKeyFromScancode(
int scancode) → int - Get the key code corresponding to the given scancode according to the current keyboard layout.
-
sdlGetKeyName(
int key) → String? - Get a human-readable name for a key.
-
sdlGetModState(
) → int - Get the current key modifier state for the keyboard.
-
sdlGetScancodeFromKey(
int key) → int - Get the scancode corresponding to the given key code according to the current keyboard layout.
-
sdlGetScancodeFromName(
String? name) → int - Get a scancode from a human-readable name.
-
sdlGetScancodeName(
int scancode) → String? - Get a human-readable name for a scancode.
-
sdlHasScreenKeyboardSupport(
) → bool - Check whether the platform has screen keyboard support.
-
sdlIsScreenKeyboardShown(
Pointer< SdlWindow> window) → bool - Check whether the screen keyboard is shown for given window.
-
sdlIsTextInputActive(
) → bool - Check whether or not Unicode text input events are enabled.
-
sdlIsTextInputShown(
) → bool - Returns if an IME Composite or Candidate window is currently shown.
-
sdlResetKeyboard(
) → void - Clear the state of the keyboard
-
sdlSetModState(
int modstate) → void - Set the current key modifier state for the keyboard.
-
sdlSetTextInputRect(
Pointer< SdlRect> rect) → void - Set the rectangle used to type Unicode text inputs. Native input methods will place a window with word suggestions near it, without covering the text being inputted.
-
sdlStartTextInput(
) → void - Start accepting Unicode text input events.
-
sdlStopTextInput(
) → void - Stop receiving any text input events.