pub enum InputDeviceRegistryRequest {
RegisterDevice {
descriptor: DeviceDescriptor,
input_device: ServerEnd<InputDeviceMarker>,
control_handle: InputDeviceRegistryControlHandle,
},
}
Expand description
Service to receive input events.
Input devices can describe their capabilities using DeviceDescriptor
and register themselves with the InputDeviceRegistry
.
Variants§
RegisterDevice
Fields
§
descriptor: DeviceDescriptor
§
input_device: ServerEnd<InputDeviceMarker>
§
control_handle: InputDeviceRegistryControlHandle
Register a device with the capabilities described by DeviceDescriptor
Implementations§
source§impl InputDeviceRegistryRequest
impl InputDeviceRegistryRequest
pub fn into_register_device( self ) -> Option<(DeviceDescriptor, ServerEnd<InputDeviceMarker>, InputDeviceRegistryControlHandle)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL