tune scrolling speed a little down
commit95f7d62cafbc7973ae6f9b46fdd0993a50406450
authorMichael Zanetti <michael.zanetti@canonical.com>
dateMon 30 Nov 2015, 19:21 (11 years ago)
parent8535f2a
qml/Components/VirtualTouchPad.qml+4
@@ -114,6 +114,10 @@ Item {
114114 dh += tp.x - tp.previousX;
115115 dv += tp.y - tp.previousY;
116116
117+ // As we added up the movement of the two fingers, let's divide it again by 2
118+ dh /= 2;
119+ dv /= 2;
120+
117121 uinput.scrollMouse(dh, dv);
118122 }
119123