KeyboardContext
Inherits: Resource
Route on-screen keyboard input
Description
A KeyboardContext defines how the on-screen keyboard should route its key input. If the context type is set to TYPE.GODOT, the keyboard will update the given control node's text from the keyboard. If it is TYPE.X11, it will send virtual key pressess to the game via Xlib/evdev.
Properties
| Type | Name | Default |
|---|---|---|
| int | type | |
| Control | target | |
| bool | close_on_submit | true |
Property Descriptions
type
int type
The type of keyboard context
target
Control target
For non-TYPE.X11 contexts, which node to send text input to
close_on_submit
bool close_on_submit = true
Whether or not the keyboard should close after submition