OptionalaltKey?: booleanOptionalcode?: stringThe physical key, such as KeyA or Enter (default '')
OptionalctrlKey?: booleanOptionalisComposing?: booleanOptionalkey?: stringThe value of the key, such as a or Enter (default '')
Optionallocation?: numberWhere on the keyboard the key is (0 standard, 1 left, 2 right, 3 numeric pad) (default 0)
OptionalmetaKey?: booleanOptionalrepeat?: booleanThe key is being held down (default false)
OptionalshiftKey?: boolean
The options for creating a keyboard event, on top of the ones every UI event has.