From f607ce820d51fdf8ad682a4809d417bc7fcae102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Thu, 8 Oct 2020 23:08:24 +0200 Subject: Make use of QT's MouseEvent Synthesizer but modify the mouse button according to "touch_shift" --- src/mixxxapplication.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mixxxapplication.h') diff --git a/src/mixxxapplication.h b/src/mixxxapplication.h index b512f68a8c..6120020457 100644 --- a/src/mixxxapplication.h +++ b/src/mixxxapplication.h @@ -17,13 +17,13 @@ class MixxxApplication : public QApplication { #endif #endif + bool notify(QObject*, QEvent*) override; + private: bool touchIsRightButton(); void registerMetaTypes(); - int m_fakeMouseSourcePointId; - QWidget* m_fakeMouseWidget; - enum Qt::MouseButton m_activeTouchButton; + int m_rightPessedButtons; ControlProxy* m_pTouchShift; }; -- cgit v1.2.3 From 8432b36bc22e06a2dc892ea850a32ff262d1c86d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Tue, 27 Oct 2020 20:33:16 +0100 Subject: Fix typo --- src/mixxxapplication.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mixxxapplication.h') diff --git a/src/mixxxapplication.h b/src/mixxxapplication.h index 6120020457..f0dfc94ce2 100644 --- a/src/mixxxapplication.h +++ b/src/mixxxapplication.h @@ -23,7 +23,7 @@ class MixxxApplication : public QApplication { bool touchIsRightButton(); void registerMetaTypes(); - int m_rightPessedButtons; + int m_rightPressedButtons; ControlProxy* m_pTouchShift; }; -- cgit v1.2.3