class PointerEvent
Defined at line 780 of file fidling/gen/sdk/fidl/fuchsia.ui.input/fuchsia.ui.input/hlcpp/fuchsia/ui/input/cpp/fidl.h
Pointers represent raw data about the user's interaction with the screen.
The state transitions should be as follows:
ADD (-> HOVER) -> DOWN -> MOVE -> UP (-> HOVER) -> REMOVE
At any point after the initial ADD, a transition to CANCEL is also possible.
Public Members
uint64_t event_time
uint32_t device_id
uint32_t pointer_id
PointerEventType type
PointerEventPhase phase
float x
float y
float radius_major
float radius_minor
Public Methods
::std::unique_ptr<PointerEvent> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, PointerEvent * value, size_t _offset)
zx_status_t Clone (PointerEvent * result)