MappingButton: grab and release mouse and keyboard instead of calling parent SetBlockInputs

This commit is contained in:
Michael Maltese committed 2017-06-15 16:15:07 -07:00
1 parent 2188ac785a
commit 5b6c8c3ad0
6 files changed
+19 -33

No files matched your search

@@ -53,7 +53,6 @@ public:
const ciface::Core::DeviceQualifier& GetDeviceQualifier() const;
std::shared_ptr<ciface::Core::Device> GetDevice() const;
void SetBlockInputs(const bool block);
ControllerEmu::EmulatedController* GetController() const;
signals:
void Update();
@@ -80,8 +79,6 @@ private:
void OnProfileChanged(int index);
void OnDeviceChanged(int index);
bool event(QEvent* event) override;
ControllerEmu::EmulatedController* m_controller = nullptr;
// Main
@@ -114,7 +111,6 @@ private:
Type m_mapping_type;
const int m_port;
bool m_is_complex;
bool m_block = false;
InputConfig* m_config;
ciface::Core::DeviceQualifier m_devq;
};