diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-08-30 08:52:59 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-08-30 08:53:22 +0200 |
commit | 4ad662d67bb12feed12095cd9a41a46bfac16d1c (patch) | |
tree | f3dbd54f9079eadea8a9d08ceb3ac64a8c191cfe /ftnoir_tracker_joystick/ftnoir_tracker_joystick.h | |
parent | 1dae49c90d62d7f0f627e1ac2401b94a2c67775a (diff) |
win32-joystick: fix duplicate device name selection logic
Tested-by: @nanospork
Closes #230
Diffstat (limited to 'ftnoir_tracker_joystick/ftnoir_tracker_joystick.h')
-rw-r--r-- | ftnoir_tracker_joystick/ftnoir_tracker_joystick.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h index 76bafbd4..75305f07 100644 --- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h +++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h @@ -14,6 +14,7 @@ #include <QList> #include <QMutex> #include <QFrame> +#include <QStringList> #include <cmath> #include "opentrack/plugin-api.hpp" #ifndef DIRECTINPUT_VERSION @@ -86,6 +87,11 @@ public: Ui::UIJoystickControls ui; FTNoIR_Tracker* tracker; settings s; + struct joys { + QString name; + QString guid; + }; + QList<joys> _joys; private slots: void doOK(); void doCancel(); |