immersive-home/docs/reference/EventKey.md
2024-03-17 00:14:31 +01:00

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