aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/joystickinputs/macos/macosjoystickinputplugin.cpp
blob: 4128dc20712d458ca9b0f4911526764c6339234d (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 "macosjoystickinputplugin.h"
#include "macosjoystickinput.h"

QT_BEGIN_NAMESPACE

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

QT_END_NAMESPACE