refs #317 Add stub Linux and OSX IJoystick implementations

This commit is contained in:
Roland Winklmeier
2014-08-20 00:24:28 +02:00
parent 9283ecdd9d
commit 80f8e33ba0
5 changed files with 194 additions and 12 deletions

View File

@@ -52,6 +52,12 @@ namespace BlackInput
public:
//! Copy Constructor
CJoystickWindows(CJoystickWindows const &) = delete;
//! Assignment operator
void operator=(CJoystickWindows const &) = delete;
//! \brief Destructor
virtual ~CJoystickWindows();
@@ -63,22 +69,16 @@ namespace BlackInput
protected:
friend class IJoystick;
//! Destructor
CJoystickWindows(QObject *parent = nullptr);
//! Copy Constructor
CJoystickWindows(CJoystickWindows const &);
//! Assignment operator
void operator=(CJoystickWindows const &);
//! Timer based updates
virtual void timerEvent(QTimerEvent *event);
virtual void timerEvent(QTimerEvent *event) override;
private:
friend class IJoystick;
//! Constructor
CJoystickWindows(QObject *parent = nullptr);
//! Initialize DirectInput
HRESULT initDirectInput();