Skip to content

KX_PythonKeyboard

Base class: EXP_PyObjectPlus

The current keyboard.

A dictionary containing the input of each keyboard key. (read-only).

Type: dictionary {keycode:SCA_InputEvent, …}

A dictionary containing the status of each keyboard event or key. (read-only).

Type: dictionary {keycode:status, …}

A dictionary containing the input of only the active keyboard keys. (read-only).

Type: dictionary {keycode:SCA_InputEvent, …}

A dictionary containing the status of only the active keyboard events or keys. (read-only).

Type: dictionary {keycode:status, …}

The typed unicode text from the last frame.

Type: string

Gets the clipboard text.

Return type: string

Sets the clipboard text.

  • text: New clipboard text
    • type: string