mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
refs #317 Add stub Linux and OSX IJoystick implementations
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user