From 1d8b1da9a68a47e6b222e8d80dc8e546e52e4dcc Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 14 Jun 2016 11:47:30 +0200 Subject: proto/mouse: guard against +181 -> -179 wraparound Always use the shorter way around. This also adds a sensitivity param. Issue: #370 --- proto-mouse/ftnoir_mousecontrols.ui | 84 +++++++++++++++++++++++++++++++++---- 1 file changed, 77 insertions(+), 7 deletions(-) (limited to 'proto-mouse/ftnoir_mousecontrols.ui') diff --git a/proto-mouse/ftnoir_mousecontrols.ui b/proto-mouse/ftnoir_mousecontrols.ui index b1f4bcf8..637afe2f 100644 --- a/proto-mouse/ftnoir_mousecontrols.ui +++ b/proto-mouse/ftnoir_mousecontrols.ui @@ -10,7 +10,7 @@ 0 0 280 - 106 + 280 @@ -46,6 +46,25 @@ + + + + + 0 + 0 + + + + Map mouse Y to: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + false + + + @@ -148,8 +167,15 @@ - - + + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + 0 @@ -157,7 +183,7 @@ - Map mouse Y to: + X axis sensitivity Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -168,9 +194,53 @@ - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + 0 + 0 + + + + Qt::Horizontal + + + 25 + + + + + + + + 0 + 0 + + + + Y axis sensitivity + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + false + + + + + + + + 0 + 0 + + + + Qt::Horizontal + + + 25 -- cgit v1.2.3