aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/joystickinputs/ios/iosjoystickinput.h
blob: e1cf1c091b69f70b45ef869611e6fc97043500bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// 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 IOSJOYSTICKINPUT_H
#define IOSJOYSTICKINPUT_H

#include <QtCore/QObject>
#include <QtUniversalInput/private/qjoystickinput_p.h>

Q_FORWARD_DECLARE_OBJC_CLASS(JoypadIOSObserver);

QT_BEGIN_NAMESPACE

class IosJoystickInput : public QJoystickInput{
public:
    IosJoystickInput();
    ~IosJoystickInput();

    void startProcessing();

private:
    JoypadIOSObserver *m_observer;
};

QT_END_NAMESPACE

#endif // IOSJOYSTICKINPUT_H