# SCA_PythonKeyboard(PyObjectPlus)

base class — `PyObjectPlus`

class `bge.types.``SCA_PythonKeyboard`(PyObjectPlus)

  The current keyboard.

  `events`

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

    Type: | dictionary {keycode:status, ...}

  `active_events`

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

    Type: | dictionary {keycode:status, ...}

  `getClipboard`()

    Gets the clipboard text.

    Return type: | string

  `setClipboard`(text)

    Sets the clipboard text.

    Parameters: | text (string) – New clipboard text