pub async fn add_mouse_device(
    width: u32,
    height: u32,
    registry: &mut dyn InputDeviceRegistry
) -> Result<Box<dyn InputDevice>, Error>