summaryrefslogtreecommitdiff
path: root/grapher/Form1.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-07-30 00:32:48 -0700
committerJacob Palecki <[email protected]>2020-07-30 00:32:48 -0700
commit20ea6f85cb0af56c13dabbfc3f65383af8793c7c (patch)
treecd1bc1f551a8d981a660c68ffae88057d3dd91c9 /grapher/Form1.cs
parentAdde accel type switch (diff)
downloadrawaccel-20ea6f85cb0af56c13dabbfc3f65383af8793c7c.tar.xz
rawaccel-20ea6f85cb0af56c13dabbfc3f65383af8793c7c.zip
Fix small bugs, add AccelOptions class
Diffstat (limited to 'grapher/Form1.cs')
-rw-r--r--grapher/Form1.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/grapher/Form1.cs b/grapher/Form1.cs
index 8dd4b8b..e35f097 100644
--- a/grapher/Form1.cs
+++ b/grapher/Form1.cs
@@ -19,7 +19,7 @@ namespace grapher
InitializeComponent();
ManagedAcceleration = new ManagedAccel(5, 0, 0.3, 1.25, 15);
- AccelerationType = 5;
+ AccelerationType = 0;
Sensitivity = new FieldXY(sensitivityBoxX, sensitivityBoxY, sensXYLock, this, 1);
Rotation = new Field(rotationBox, this, 0);
Weight = new FieldXY(weightBoxFirst, weightBoxSecond, weightXYLock, this, 1);
@@ -151,6 +151,7 @@ namespace grapher
{
ManagedAcceleration.UpdateAccel(
AccelerationType,
+ Rotation.Data,
Sensitivity.X,
Sensitivity.Y,
Weight.X,