diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-09 20:30:21 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-10 03:18:58 +0100 |
commit | 78a5da173e16305d39974de31cc5a90132feb473 (patch) | |
tree | f8447bed0c432be504fff9f019465814c1373f84 /tracker-qt-gamepad/test.h | |
parent | 0597e5a75984f8820424bcd387ea5d8c9d277f10 (diff) |
tracker/qt-gamepad: remove
Needs implementing in terms of libevdev
Diffstat (limited to 'tracker-qt-gamepad/test.h')
-rw-r--r-- | tracker-qt-gamepad/test.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/tracker-qt-gamepad/test.h b/tracker-qt-gamepad/test.h deleted file mode 100644 index 507697b5..00000000 --- a/tracker-qt-gamepad/test.h +++ /dev/null @@ -1,45 +0,0 @@ -#pragma once -#include "ui_test.h" -#include "api/plugin-api.hpp" -#include "compat/timer.hpp" - -#include <cmath> - -class gamepad_tracker : public ITracker -{ -public: - gamepad_tracker(); - ~gamepad_tracker() override; - void start_tracker(QFrame *) override; - void data(double *data) override; - -private: - static constexpr double r2d = 180 / M_PI; - static constexpr double d2r = M_PI / 180; - - static const double incr[6]; - double last_x[6]; - Timer t; -}; - -class gamepad_dialog : public ITrackerDialog -{ - Q_OBJECT - - Ui::test_ui ui; -public: - gamepad_dialog(); - void register_tracker(ITracker *) override {} - void unregister_tracker() override {} -private slots: - void doOK(); - void doCancel(); -}; - -class gamepad_metadata : public Metadata -{ -public: - QString name() { return otr_tr("Gamepad input"); } - QIcon icon() { return QIcon(":/images/facetracknoir.png"); } -}; - |