class KeyboardEvent

Defined at line 710 of file fidling/gen/sdk/fidl/fuchsia.ui.input/fuchsia.ui.input/hlcpp/fuchsia/ui/input/cpp/fidl.h

`KeyboardEvent` represents event generated by a user's interaction with a

keyboard.

Those events are triggered by distinct pressed state changes of the keys.

The state transitions should be as follows:

PRESSED -> (REPEAT ->) RELEASED

or

PRESSED -> (REPEAT ->) CANCELLED

The input system will repeat those events automatically when a code_point is

available.

DEPRECATED: Will be removed in favor of `fuchsia.ui.input.KeyEvent`.

Public Members

uint64_t event_time
uint32_t device_id
KeyboardEventPhase phase
uint32_t hid_usage
uint32_t code_point
uint32_t modifiers

Public Methods

::std::unique_ptr<KeyboardEvent> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, KeyboardEvent * value, size_t _offset)
zx_status_t Clone (KeyboardEvent * result)