SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
SPDX-FileCopyrightText: 2023 Jeremy Whiting <jpwhiting@kde.org>
SPDX-FileCopyrightText: 2023 NiccolΓ² Venerandi <niccolo@venerandi.com>
SPDX-FileCopyrightText: 2025 Yelsin Sepulveda <yelsin.sepulveda@kdemail.net>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include <KQuickConfigModule>
class GameControllerEmulationSettings;
class KCMGameController : public KQuickConfigModule
{
Q_OBJECT
Q_PROPERTY(bool pluginEnabled READ isPluginEnabled WRITE setPluginEnabled NOTIFY pluginEnabledChanged FINAL)
public:
KCMGameController(QObject *parent, const KPluginMetaData &metaData);
~KCMGameController() override;
bool isPluginEnabled() const;
void setPluginEnabled(bool enabled);
Q_SIGNALS:
void pluginEnabledChanged();
private:
std::unique_ptr<GameControllerEmulationSettings> m_emulationSettings;
};