One decoded key press.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=int32), | public | :: | char_code | = | 0_int32 |
Byte value, meaningful when |
|
| integer(kind=int32), | public | :: | code | = | KEY_NONE |
One of the KEY_* codes. |
type :: key_event_t !! One decoded key press. integer(int32) :: code = KEY_NONE !! One of the KEY_* codes. integer(int32) :: char_code = 0_int32 !! Byte value, meaningful when `code` is `KEY_CHAR`. end type key_event_t