2.3 KiB
2.3 KiB
EventKey
Inherits: EventWithModifiers
Description
Events emitted by the Virtual Keyboard
Properties
Name | Type | Default |
---|---|---|
echo | bool | |
key | int |
Methods
Returns | Name |
---|---|
String | key_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