summaryrefslogtreecommitdiff
path: root/grapher/Models/AccelGUIFactory.cs
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-12-03 20:00:31 -0500
committera1xd <[email protected]>2020-12-03 20:00:31 -0500
commit5657d5a54c0a8e980c9b0cac39e2d16e452f302e (patch)
tree03c254c41dba5f64a998ac13c38e36943bf8b942 /grapher/Models/AccelGUIFactory.cs
parentupdate writer - use messagebox instead of console (diff)
downloadrawaccel-5657d5a54c0a8e980c9b0cac39e2d16e452f302e.tar.xz
rawaccel-5657d5a54c0a8e980c9b0cac39e2d16e452f302e.zip
add directional multipliers
adds multipliers for movement in negative directions (up & left by default, can be flipped by rot or sens) avoid division by user input in mousewatcher
Diffstat (limited to 'grapher/Models/AccelGUIFactory.cs')
-rw-r--r--grapher/Models/AccelGUIFactory.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/grapher/Models/AccelGUIFactory.cs b/grapher/Models/AccelGUIFactory.cs
index 3dc2a74..d789593 100644
--- a/grapher/Models/AccelGUIFactory.cs
+++ b/grapher/Models/AccelGUIFactory.cs
@@ -2,6 +2,7 @@
using grapher.Models.Mouse;
using grapher.Models.Options;
using grapher.Models.Serialized;
+using System;
using System.Windows.Forms;
using System.Windows.Forms.DataVisualization.Charting;
@@ -331,7 +332,7 @@ namespace grapher.Models
showLastMouseMoveMenuItem,
showVelocityGainToolStripMenuItem);
- var mouseWatcher = new MouseWatcher(form, mouseLabel, accelCharts, accelCalculator.PollRate);
+ var mouseWatcher = new MouseWatcher(form, mouseLabel, accelCharts, settings);
return new AccelGUI(
form,