Skip to content

EventKey

Inherits: EventWithModifiers

Description

Events emitted by the Virtual Keyboard

Properties

NameTypeDefault
echobool
keyint

Methods

ReturnsName
Stringkey_to_string ( key: int, caps: bool, apply_to: String )

Property Descriptions

echo: bool

true if the event is repeated due to a key being held down for a while

key: int

The key that was pressed or released

Method Descriptions

static key_to_string (key: int , caps: bool , apply_to: String ) -> String

Modifies a string based on the key pressed