diff options
author | Karel Kočí <cynerd@email.cz> | 2018-04-17 10:37:38 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-04-17 10:37:38 +0200 |
commit | 2367fbd88283ddfe1925d2706923e1458e2d2248 (patch) | |
tree | 8e470c7ef34f59796654104188bb7395e02063bc /qtmips_gui | |
parent | fda5c2613695268e75c9be99617660ecec50baa7 (diff) | |
download | qtmips-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.cpp | 2 |
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) { |