Structure keyboardEvent
¶
Declaration¶
local keyboardEvent = {
key = string,
char = string?
}
Fields¶
Field | Type | Description |
---|---|---|
key | string | The key group that was pressed (F, ctrl, key, etc) |
char | string? | The character associated with the key (the 1 in F1) |