aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-04-17 10:37:38 +0200
committerKarel Kočí <cynerd@email.cz>2018-04-17 10:37:38 +0200
commit2367fbd88283ddfe1925d2706923e1458e2d2248 (patch)
tree8e470c7ef34f59796654104188bb7395e02063bc /qtmips_gui
parentfda5c2613695268e75c9be99617660ecec50baa7 (diff)
downloadqtmips-2367fbd88283ddfe1925d2706923e1458e2d2248.tar.gz
qtmips-2367fbd88283ddfe1925d2706923e1458e2d2248.tar.bz2
qtmips-2367fbd88283ddfe1925d2706923e1458e2d2248.zip
Fix angle scroll speed
I finally manage to make device to report as angle scroll device. And it was too fast scroll so I make it solver. It is now some what acceptable.
Diffstat (limited to 'qtmips_gui')
-rw-r--r--qtmips_gui/memoryview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_gui/memoryview.cpp b/qtmips_gui/memoryview.cpp
index b2d0a66..3f5fbc3 100644
--- a/qtmips_gui/memoryview.cpp
+++ b/qtmips_gui/memoryview.cpp
@@ -6,7 +6,7 @@
// Focus point (this is multiplied with height of widget to know position where we want to focus)
#define FOCUS 0.25
// How angle maps to pixels when and scroll is used
-#define ANGLE_SCROLL 4
+#define ANGLE_SCROLL 1
///////////////////////////
MemoryView::MemoryView(QWidget *parent, std::uint32_t addr0) : QWidget(parent) {