From 1573a8c4cde1cd9528b422b2dcc598e37ffe94a7 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Thu, 2 May 2024 19:12:26 +1000 Subject: WIP merge cyclically dependent components into one big component --- src/input/include/device_factory.hpp | 39 ------------------------------------ 1 file changed, 39 deletions(-) delete mode 100644 src/input/include/device_factory.hpp (limited to 'src/input/include/device_factory.hpp') diff --git a/src/input/include/device_factory.hpp b/src/input/include/device_factory.hpp deleted file mode 100644 index dd9c7133..00000000 --- a/src/input/include/device_factory.hpp +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2023 jacqueline - * - * SPDX-License-Identifier: GPL-3.0-only - */ - -#pragma once - -#include -#include - -#include "feedback_device.hpp" -#include "input_device.hpp" -#include "input_touch_wheel.hpp" -#include "nvs.hpp" -#include "service_locator.hpp" - -namespace input { - -class DeviceFactory { - public: - DeviceFactory(std::shared_ptr); - - auto createInputs(drivers::NvsStorage::InputModes mode) - -> std::vector>; - - auto createFeedbacks() -> std::vector>; - - auto touch_wheel() -> std::shared_ptr { return wheel_; } - - private: - std::shared_ptr services_; - - // HACK: the touchwheel is current a special case, since it's the only input - // device that has some kind of setting/configuration; scroll sensitivity. - std::shared_ptr wheel_; -}; - -} // namespace input -- cgit v1.2.3