blob: ddb990dac6268bc0a510c951839901b46487b89b [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.input.injection;
using fuchsia.input.report;
/// A protocol used to to inject input devices for testing.
@discoverable
protocol InputDeviceRegistry {
/// Registers an input device represented by `device`.
/// On registration, the InputDeviceRegistry starts listening for input reports on the
/// InputReportsReader returned by device.GetInputReportsReader().
Register(resource struct {
device client_end:fuchsia.input.report.InputDevice;
});
};