Key Flags Event
[System.Flags] public enum KeyEventFlags
type KeyEventFlags =
When associated with up key events, this indicates that the key press has been canceled.
Set when a key event has Canceledset because a long press action was executed while it was down.
This mask is used for compatibility, to identify enter keys that are coming from an IME whose enter key has been auto-labelled "next" or "done".
This mask is set if an event was known to come from a trusted part of the system.
This mask is set if we don't want the key event to cause us to leave touch mode.
This flag is set for the first key repeat that occurs after the long press timeout.
This mask is set if the key event was generated by a software keyboard.
Set for Upwhen this event's key code is still being tracked from its initial down.
This key event was generated by a virtual (on-screen) hard key area. Typically this is an area of the touchscreen, outside of the regular display, dedicated to "hardware" buttons.
This mask is set if the device woke because of this key event.