aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/joystickinputs/windows/windowsjoystickinputplugin.cpp
blob: da98281c0304957ca306ab2abbbd6e5e16074ed9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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

#include "windowsjoystickinputplugin.h"
#include "windowsjoystickinput.h"

QT_BEGIN_NAMESPACE

QJoystickInput *WindowsJoystickInputPlugin::create(const QString &key, const QStringList &paramList)
{
    Q_UNUSED(paramList);
    if (key == QLatin1String("windows"))
        return new WindowsJoystickInput();
    return nullptr;
}

QT_END_NAMESPACE