Game Development Reference
In-Depth Information
Keyboard related events
Enum value
Member associated
Description
Event::KeyPressed
Event::key holds the
pressed/released key
This event is triggered when a single button is pressed or re-
leased on a focused window.
Event::KeyReleased
Event::text holds the
UTF-32 unicode value of the
character
This event is triggered every time a character is typed. This
produces a printable character from the user input, and is use-
ful for text fields.
Event::TextEntered
Search WWH ::




Custom Search