mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-02 23:35:40 +08:00
refs #453 Refactor CInputManger and low level input handlers
This commit is contained in:
committed by
Mathew Sutcliffe
parent
63c7c6be0d
commit
199a1e5fcb
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "blackinput/blackinputexport.h"
|
||||
#include "blackinput/joystick.h"
|
||||
#include "blackmisc/hardware/joystickbutton.h"
|
||||
#include "blackmisc/input/joystickbutton.h"
|
||||
#include "blackmisc/collection.h"
|
||||
#include <QSet>
|
||||
|
||||
@@ -62,12 +62,6 @@ namespace BlackInput
|
||||
//! \brief Destructor
|
||||
virtual ~CJoystickWindows();
|
||||
|
||||
//! \copydoc IJoystick::startCapture()
|
||||
virtual void startCapture() override;
|
||||
|
||||
//! \copydoc IJoystick::triggerButton()
|
||||
virtual void triggerButton(const BlackMisc::Hardware::CJoystickButton button, bool isPressed) override;
|
||||
|
||||
protected:
|
||||
|
||||
//! Timer based updates
|
||||
@@ -116,9 +110,8 @@ namespace BlackInput
|
||||
QList<CJoystickDeviceData> m_availableJoystickDevices; //!< List of found and available joystick devices
|
||||
|
||||
QList<CJoystickDeviceInput> m_joystickDeviceInputs; //!< List of available device buttons
|
||||
BlackMisc::CCollection<qint32> m_pressedButtons; //!< Collection of pressed buttons
|
||||
|
||||
IJoystick::Mode m_mode = ModeNominal; //!< Current working mode
|
||||
BlackMisc::Input::CHotkeyCombination m_buttonCombination;
|
||||
|
||||
static const WCHAR *m_helperWindowClassName; //!< Helper window class name
|
||||
static const WCHAR *m_helperWindowName; //!< Helper window name
|
||||
|
||||
Reference in New Issue
Block a user