class InputDeviceRegistry

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

A TEST-ONLY protocol which injects `InputDevice`s into the

input system.

This protocol is not intended for production use; products

_should_ take measures to ensure this protocol is not

routed to production components.

Public Members

static const char[] Name_

Public Methods

void ~InputDeviceRegistry ()
void Register (::fidl::InterfaceHandle< ::fuchsia::input::report::InputDevice> device)

Registers an input device represented by `device`.

On registration, the InputDeviceRegistry starts listening for input reports on the

InputReportsReader returned by device.GetInputReportsReader().

void RegisterAndGetDeviceInfo (::fidl::InterfaceHandle< ::fuchsia::input::report::InputDevice> device, RegisterAndGetDeviceInfoCallback callback)

Registers an input device represented by `device` and return the device id of the

added test device.

On registration, the InputDeviceRegistry starts listening for input reports on the

InputReportsReader returned by device.GetInputReportsReader().