diff options
| author | Jacob Palecki <[email protected]> | 2020-07-30 00:32:48 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-07-30 00:32:48 -0700 |
| commit | 20ea6f85cb0af56c13dabbfc3f65383af8793c7c (patch) | |
| tree | cd1bc1f551a8d981a660c68ffae88057d3dd91c9 /grapher/Form1.cs | |
| parent | Adde accel type switch (diff) | |
| download | rawaccel-20ea6f85cb0af56c13dabbfc3f65383af8793c7c.tar.xz rawaccel-20ea6f85cb0af56c13dabbfc3f65383af8793c7c.zip | |
Fix small bugs, add AccelOptions class
Diffstat (limited to 'grapher/Form1.cs')
| -rw-r--r-- | grapher/Form1.cs | 3 |
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, |