aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/joystickinputs/linux/linuxjoystickinputplugin.cpp
blob: c234a26b145804a0713feeceea5bddcd6a92bc22 (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 "linuxjoystickinputplugin.h"
#include "linuxjoystickinput.h"

QT_BEGIN_NAMESPACE

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

QT_END_NAMESPACE