pub enum InputDeviceRegistryRequest {
Register {
device: ClientEnd<InputDeviceMarker>,
control_handle: InputDeviceRegistryControlHandle,
},
}
Expand description
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.
Variants§
Register
Registers an input device represented by device
.
On registration, the InputDeviceRegistry starts listening for input reports on the
InputReportsReader returned by device.GetInputReportsReader().
Implementations§
source§impl InputDeviceRegistryRequest
impl InputDeviceRegistryRequest
pub fn into_register( self ) -> Option<(ClientEnd<InputDeviceMarker>, InputDeviceRegistryControlHandle)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL