class TouchInjector

Defined at line 16 of file ../../src/ui/scenic/lib/input/dso/touch_injector.h

Implementation of the |fuchsia_ui_pointerinjector_dso::Device| interface. One instance per

channel.

Public Methods

void TouchInjector (async_dispatcher_t * input_dispatcher, std::shared_ptr<view_tree::SnapshotHolder> snapshot_holder, inspect::Node inspect_node, InjectorSettings settings, Viewport viewport, fdf::ServerEnd<fuchsia_ui_pointerinjector_dso::Device> device, fit::function<void (InternalTouchEvent, StreamId, const view_tree::Snapshot &)> inject, fit::function<void ()> on_channel_closed)

Defined at line 30 of file ../../src/ui/scenic/lib/input/dso/touch_injector.cc

Protected Methods

void ForwardEvent (fuchsia_ui_pointerinjector::wire::Event & event, StreamId stream_id, uint64_t trace_flow_id, const view_tree::Snapshot & snapshot)

|Injector|

Defined at line 46 of file ../../src/ui/scenic/lib/input/dso/touch_injector.cc

void CancelStream (uint32_t pointer_id, StreamId stream_id, const view_tree::Snapshot & snapshot)

|Injector|

Defined at line 98 of file ../../src/ui/scenic/lib/input/dso/touch_injector.cc