From 2367fbd88283ddfe1925d2706923e1458e2d2248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 17 Apr 2018 10:37:38 +0200 Subject: 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. --- qtmips_gui/memoryview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtmips_gui') 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) { -- cgit v1.2.3