blob: 9af768883936fb36b480063885f117aff2627d42 [file] [log] [blame]
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "remoting/host/input_injector.h"
#include "remoting/host/linux/input_injector_x11.h"
namespace remoting {
// static
std::unique_ptr<InputInjector> InputInjector::Create(
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) {
auto injector = std::make_unique<InputInjectorX11>(main_task_runner);
injector->Init();
return std::move(injector);
}
// static
bool InputInjector::SupportsTouchEvents() {
return false;
}
} // namespace remoting