KX_PythonKeyboard
Base class: EXP_PyObjectPlus
The current keyboard.
inputs
Section titled “inputs”A dictionary containing the input of each keyboard key. (read-only).
Type: dictionary {keycode:SCA_InputEvent, …}
events
Section titled “events”A dictionary containing the status of each keyboard event or key. (read-only).
Type: dictionary {keycode:status, …}
activeInputs
Section titled “activeInputs”A dictionary containing the input of only the active keyboard keys. (read-only).
Type: dictionary {keycode:SCA_InputEvent, …}
active_events
Section titled “active_events”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
getClipboard()
Section titled “getClipboard()”Gets the clipboard text.
Return type: string
setClipboard(text)
Section titled “setClipboard(text)”Sets the clipboard text.
text: New clipboard text- type: string
