File indexing completed on 2024-05-12 17:07:11
0001 /* 0002 This file is part of the KDE Control Center Module for Joysticks 0003 0004 SPDX-FileCopyrightText: 2003 Martin Koller <kollix@aon.at> 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #pragma once 0009 0010 #include <KCModule> 0011 0012 class JoyWidget; 0013 0014 /* on FreeBSD the header <sys/joystick.h> already has a struct joystick, so we can't use the same name here, Alex */ 0015 class Joystick : public KCModule 0016 { 0017 Q_OBJECT 0018 0019 public: 0020 explicit Joystick(QWidget *parent = nullptr, const QVariantList &list = QVariantList()); 0021 0022 void load() override; 0023 void defaults() override; 0024 0025 private: 0026 JoyWidget *joyWidget; 0027 };