aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/joystickinputs/windows/windowsjoystickinputplugin.h
blob: a7fb7260f0d2888257c56fdc7b44a91d4405b270 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#ifndef WINDOWSJOYSTICKINPUTPLUGIN_H
#define WINDOWSJOYSTICKINPUTPLUGIN_H

#include <QtUniversalInput/private/qjoystickinputplugin_p.h>
#include <QtUniversalInput/private/qjoystickinput_p.h>

QT_BEGIN_NAMESPACE

class WindowsJoystickInputPlugin : public QJoystickInputPlugin
{
    Q_OBJECT
    Q_PLUGIN_METADATA(IID QJoystickInputFactoryInterface_iid FILE "windows.json")

public:
    QJoystickInput *create(const QString &key, const QStringList &paramList) override;
};

QT_END_NAMESPACE

#endif // WINDOWSJOYSTICKINPUTPLUGIN_H