|[Overview][Constants][Types][Procedures and functions][Index]||Reference for unit 'keyboard' (#rtl)|
Base type to describe all key events.
Source position: keybrdh.inc line 21
type TKeyEvent = Cardinal;
The TKeyEvent type is the base type for all keyboard events.
The key stroke is encoded in the 4 bytes of the TKeyEvent type. The various fields of the key stroke encoding can be obtained by typecasting the TKeyEvent type to the TKeyRecord type.