summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-10-08 02:08:27 -0400
committera1xd <[email protected]>2020-10-08 06:36:50 -0400
commit37d2cb7d3ed25862683ef807712c7d50f71e8493 (patch)
tree3852439d718d36a79ebf8b778e82ee5c06461eeb
parentadd toggle button + save gui settings on close (diff)
downloadrawaccel-37d2cb7d3ed25862683ef807712c7d50f71e8493.tar.xz
rawaccel-37d2cb7d3ed25862683ef807712c7d50f71e8493.zip
add scroll to charts
-rw-r--r--grapher/Constants/Constants.cs3
-rw-r--r--grapher/Form1.Designer.cs2026
-rw-r--r--grapher/Form1.cs24
-rw-r--r--grapher/Models/AccelGUI.cs2
-rw-r--r--grapher/Models/Charts/AccelCharts.cs34
-rw-r--r--grapher/Models/Charts/ChartState/ChartState.cs25
-rw-r--r--grapher/Models/Charts/ChartXY.cs38
-rw-r--r--grapher/Models/Options/ApplyOptions.cs7
8 files changed, 1070 insertions, 1089 deletions
diff --git a/grapher/Constants/Constants.cs b/grapher/Constants/Constants.cs
index 639bd9b..5a05863 100644
--- a/grapher/Constants/Constants.cs
+++ b/grapher/Constants/Constants.cs
@@ -115,6 +115,9 @@ namespace grapher
/// <summary> Color of font in active value labels. </summary>
public static readonly Color ActiveValueFontColor = Color.FromArgb(255, 65, 65, 65);
+ public static readonly Point Origin = new Point(0);
+ public static readonly Size MaxSize = new Size(9999, 9999);
+
#endregion ReadOnly
}
}
diff --git a/grapher/Form1.Designer.cs b/grapher/Form1.Designer.cs
index c2d77c9..8c3af0b 100644
--- a/grapher/Form1.Designer.cs
+++ b/grapher/Form1.Designer.cs
@@ -35,67 +35,112 @@ namespace grapher
System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series();
- System.Windows.Forms.DataVisualization.Charting.Series series4 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Title title1 = new System.Windows.Forms.DataVisualization.Charting.Title();
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
System.Windows.Forms.DataVisualization.Charting.Legend legend2 = new System.Windows.Forms.DataVisualization.Charting.Legend();
+ System.Windows.Forms.DataVisualization.Charting.Series series4 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series series5 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series series6 = new System.Windows.Forms.DataVisualization.Charting.Series();
- System.Windows.Forms.DataVisualization.Charting.Series series7 = new System.Windows.Forms.DataVisualization.Charting.Series();
- System.Windows.Forms.DataVisualization.Charting.Series series8 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Title title2 = new System.Windows.Forms.DataVisualization.Charting.Title();
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea3 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
System.Windows.Forms.DataVisualization.Charting.Legend legend3 = new System.Windows.Forms.DataVisualization.Charting.Legend();
+ System.Windows.Forms.DataVisualization.Charting.Series series7 = new System.Windows.Forms.DataVisualization.Charting.Series();
+ System.Windows.Forms.DataVisualization.Charting.Series series8 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series series9 = new System.Windows.Forms.DataVisualization.Charting.Series();
- System.Windows.Forms.DataVisualization.Charting.Series series10 = new System.Windows.Forms.DataVisualization.Charting.Series();
- System.Windows.Forms.DataVisualization.Charting.Series series11 = new System.Windows.Forms.DataVisualization.Charting.Series();
- System.Windows.Forms.DataVisualization.Charting.Series series12 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Title title3 = new System.Windows.Forms.DataVisualization.Charting.Title();
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea4 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
System.Windows.Forms.DataVisualization.Charting.Legend legend4 = new System.Windows.Forms.DataVisualization.Charting.Legend();
+ System.Windows.Forms.DataVisualization.Charting.Series series10 = new System.Windows.Forms.DataVisualization.Charting.Series();
+ System.Windows.Forms.DataVisualization.Charting.Series series11 = new System.Windows.Forms.DataVisualization.Charting.Series();
+ System.Windows.Forms.DataVisualization.Charting.Series series12 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series series13 = new System.Windows.Forms.DataVisualization.Charting.Series();
- System.Windows.Forms.DataVisualization.Charting.Series series14 = new System.Windows.Forms.DataVisualization.Charting.Series();
- System.Windows.Forms.DataVisualization.Charting.Series series15 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Title title4 = new System.Windows.Forms.DataVisualization.Charting.Title();
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea5 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
System.Windows.Forms.DataVisualization.Charting.Legend legend5 = new System.Windows.Forms.DataVisualization.Charting.Legend();
+ System.Windows.Forms.DataVisualization.Charting.Series series14 = new System.Windows.Forms.DataVisualization.Charting.Series();
+ System.Windows.Forms.DataVisualization.Charting.Series series15 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series series16 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series series17 = new System.Windows.Forms.DataVisualization.Charting.Series();
- System.Windows.Forms.DataVisualization.Charting.Series series18 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Title title5 = new System.Windows.Forms.DataVisualization.Charting.Title();
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea6 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
System.Windows.Forms.DataVisualization.Charting.Legend legend6 = new System.Windows.Forms.DataVisualization.Charting.Legend();
+ System.Windows.Forms.DataVisualization.Charting.Series series18 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series series19 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series series20 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series series21 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Title title6 = new System.Windows.Forms.DataVisualization.Charting.Title();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RawAcceleration));
- this.AccelerationChart = new System.Windows.Forms.DataVisualization.Charting.Chart();
- this.accelTypeDropX = new System.Windows.Forms.ComboBox();
- this.sensitivityBoxX = new System.Windows.Forms.TextBox();
- this.sensitivityLabel = new System.Windows.Forms.Label();
- this.rotationBox = new System.Windows.Forms.TextBox();
- this.rotationLabel = new System.Windows.Forms.Label();
- this.accelerationBoxX = new System.Windows.Forms.TextBox();
- this.constantOneLabelX = new System.Windows.Forms.Label();
- this.capBoxX = new System.Windows.Forms.TextBox();
- this.capLabelX = new System.Windows.Forms.Label();
- this.weightBoxX = new System.Windows.Forms.TextBox();
- this.weightLabelX = new System.Windows.Forms.Label();
- this.weightBoxY = new System.Windows.Forms.TextBox();
- this.limitBoxX = new System.Windows.Forms.TextBox();
- this.limitLabelX = new System.Windows.Forms.Label();
- this.midpointBoxX = new System.Windows.Forms.TextBox();
- this.constantThreeLabelX = new System.Windows.Forms.Label();
- this.offsetBoxX = new System.Windows.Forms.TextBox();
- this.offsetLabelX = new System.Windows.Forms.Label();
- this.writeButton = new System.Windows.Forms.Button();
- this.sensitivityBoxY = new System.Windows.Forms.TextBox();
- this.capBoxY = new System.Windows.Forms.TextBox();
- this.sensXYLock = new System.Windows.Forms.CheckBox();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.toggleButton = new System.Windows.Forms.CheckBox();
+ this.scaleLabelY = new System.Windows.Forms.Label();
+ this.ScaleActiveYLabel = new System.Windows.Forms.Label();
+ this.scaleBoxY = new System.Windows.Forms.TextBox();
+ this.ScaleActiveXLabel = new System.Windows.Forms.Label();
+ this.scaleLabelX = new System.Windows.Forms.Label();
+ this.scaleBoxX = new System.Windows.Forms.TextBox();
+ this.expLabelY = new System.Windows.Forms.Label();
+ this.ExpActiveYLabel = new System.Windows.Forms.Label();
+ this.expBoxY = new System.Windows.Forms.TextBox();
+ this.ExpActiveXLabel = new System.Windows.Forms.Label();
+ this.expLabelX = new System.Windows.Forms.Label();
+ this.expBoxX = new System.Windows.Forms.TextBox();
+ this.ActiveValueTitleY = new System.Windows.Forms.Label();
+ this.AccelTypeActiveLabelY = new System.Windows.Forms.Label();
+ this.OptionSetYTitle = new System.Windows.Forms.Label();
+ this.OptionSetXTitle = new System.Windows.Forms.Label();
+ this.constantThreeLabelY = new System.Windows.Forms.Label();
+ this.limitLabelY = new System.Windows.Forms.Label();
+ this.offsetLabelY = new System.Windows.Forms.Label();
+ this.weightLabelY = new System.Windows.Forms.Label();
+ this.capLabelY = new System.Windows.Forms.Label();
+ this.constantOneLabelY = new System.Windows.Forms.Label();
+ this.ByComponentXYLock = new System.Windows.Forms.CheckBox();
+ this.MidpointActiveYLabel = new System.Windows.Forms.Label();
+ this.LimitActiveYLabel = new System.Windows.Forms.Label();
+ this.OffsetActiveYLabel = new System.Windows.Forms.Label();
+ this.AccelerationActiveLabelY = new System.Windows.Forms.Label();
+ this.accelTypeDropY = new System.Windows.Forms.ComboBox();
+ this.midpointBoxY = new System.Windows.Forms.TextBox();
+ this.limitBoxY = new System.Windows.Forms.TextBox();
+ this.offsetBoxY = new System.Windows.Forms.TextBox();
+ this.accelerationBoxY = new System.Windows.Forms.TextBox();
+ this.MidpointActiveXLabel = new System.Windows.Forms.Label();
+ this.LimitActiveXLabel = new System.Windows.Forms.Label();
+ this.OffsetActiveXLabel = new System.Windows.Forms.Label();
+ this.CapActiveYLabel = new System.Windows.Forms.Label();
+ this.WeightActiveYLabel = new System.Windows.Forms.Label();
+ this.WeightActiveXLabel = new System.Windows.Forms.Label();
+ this.CapActiveXLabel = new System.Windows.Forms.Label();
+ this.AccelerationActiveLabelX = new System.Windows.Forms.Label();
+ this.AccelTypeActiveLabelX = new System.Windows.Forms.Label();
+ this.RotationActiveLabel = new System.Windows.Forms.Label();
+ this.SensitivityActiveYLabel = new System.Windows.Forms.Label();
+ this.SensitivityActiveXLabel = new System.Windows.Forms.Label();
+ this.ActiveValueTitle = new System.Windows.Forms.Label();
+ this.MouseLabel = new System.Windows.Forms.Label();
this.LockXYLabel = new System.Windows.Forms.Label();
- this.VelocityChart = new System.Windows.Forms.DataVisualization.Charting.Chart();
- this.GainChart = new System.Windows.Forms.DataVisualization.Charting.Chart();
+ this.sensXYLock = new System.Windows.Forms.CheckBox();
+ this.capBoxY = new System.Windows.Forms.TextBox();
+ this.sensitivityBoxY = new System.Windows.Forms.TextBox();
+ this.writeButton = new System.Windows.Forms.Button();
+ this.offsetLabelX = new System.Windows.Forms.Label();
+ this.offsetBoxX = new System.Windows.Forms.TextBox();
+ this.constantThreeLabelX = new System.Windows.Forms.Label();
+ this.midpointBoxX = new System.Windows.Forms.TextBox();
+ this.limitLabelX = new System.Windows.Forms.Label();
+ this.limitBoxX = new System.Windows.Forms.TextBox();
+ this.weightBoxY = new System.Windows.Forms.TextBox();
+ this.weightLabelX = new System.Windows.Forms.Label();
+ this.weightBoxX = new System.Windows.Forms.TextBox();
+ this.capLabelX = new System.Windows.Forms.Label();
+ this.capBoxX = new System.Windows.Forms.TextBox();
+ this.constantOneLabelX = new System.Windows.Forms.Label();
+ this.accelerationBoxX = new System.Windows.Forms.TextBox();
+ this.rotationLabel = new System.Windows.Forms.Label();
+ this.rotationBox = new System.Windows.Forms.TextBox();
+ this.sensitivityLabel = new System.Windows.Forms.Label();
+ this.sensitivityBoxX = new System.Windows.Forms.TextBox();
+ this.accelTypeDropX = new System.Windows.Forms.ComboBox();
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.graphsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.scaleByDPIToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -116,384 +161,710 @@ namespace grapher
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.wholeVectorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.byVectorComponentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.AccelerationChartY = new System.Windows.Forms.DataVisualization.Charting.Chart();
- this.VelocityChartY = new System.Windows.Forms.DataVisualization.Charting.Chart();
+ this.panel2 = new System.Windows.Forms.Panel();
this.GainChartY = new System.Windows.Forms.DataVisualization.Charting.Chart();
- this.MouseLabel = new System.Windows.Forms.Label();
- this.ActiveValueTitle = new System.Windows.Forms.Label();
- this.SensitivityActiveXLabel = new System.Windows.Forms.Label();
- this.SensitivityActiveYLabel = new System.Windows.Forms.Label();
- this.RotationActiveLabel = new System.Windows.Forms.Label();
- this.AccelTypeActiveLabelX = new System.Windows.Forms.Label();
- this.AccelerationActiveLabelX = new System.Windows.Forms.Label();
- this.CapActiveXLabel = new System.Windows.Forms.Label();
- this.WeightActiveXLabel = new System.Windows.Forms.Label();
- this.WeightActiveYLabel = new System.Windows.Forms.Label();
- this.CapActiveYLabel = new System.Windows.Forms.Label();
- this.OffsetActiveXLabel = new System.Windows.Forms.Label();
- this.LimitActiveXLabel = new System.Windows.Forms.Label();
- this.MidpointActiveXLabel = new System.Windows.Forms.Label();
- this.accelerationBoxY = new System.Windows.Forms.TextBox();
- this.offsetBoxY = new System.Windows.Forms.TextBox();
- this.limitBoxY = new System.Windows.Forms.TextBox();
- this.midpointBoxY = new System.Windows.Forms.TextBox();
- this.accelTypeDropY = new System.Windows.Forms.ComboBox();
- this.AccelerationActiveLabelY = new System.Windows.Forms.Label();
- this.OffsetActiveYLabel = new System.Windows.Forms.Label();
- this.LimitActiveYLabel = new System.Windows.Forms.Label();
- this.MidpointActiveYLabel = new System.Windows.Forms.Label();
- this.ByComponentXYLock = new System.Windows.Forms.CheckBox();
- this.constantOneLabelY = new System.Windows.Forms.Label();
- this.capLabelY = new System.Windows.Forms.Label();
- this.weightLabelY = new System.Windows.Forms.Label();
- this.offsetLabelY = new System.Windows.Forms.Label();
- this.limitLabelY = new System.Windows.Forms.Label();
- this.constantThreeLabelY = new System.Windows.Forms.Label();
- this.OptionSetXTitle = new System.Windows.Forms.Label();
- this.OptionSetYTitle = new System.Windows.Forms.Label();
- this.AccelTypeActiveLabelY = new System.Windows.Forms.Label();
- this.ActiveValueTitleY = new System.Windows.Forms.Label();
- this.expLabelY = new System.Windows.Forms.Label();
- this.ExpActiveYLabel = new System.Windows.Forms.Label();
- this.expBoxY = new System.Windows.Forms.TextBox();
- this.ExpActiveXLabel = new System.Windows.Forms.Label();
- this.expLabelX = new System.Windows.Forms.Label();
- this.expBoxX = new System.Windows.Forms.TextBox();
- this.scaleLabelY = new System.Windows.Forms.Label();
- this.ScaleActiveYLabel = new System.Windows.Forms.Label();
- this.scaleBoxY = new System.Windows.Forms.TextBox();
- this.ScaleActiveXLabel = new System.Windows.Forms.Label();
- this.scaleLabelX = new System.Windows.Forms.Label();
- this.scaleBoxX = new System.Windows.Forms.TextBox();
- this.toggleButton = new System.Windows.Forms.CheckBox();
- ((System.ComponentModel.ISupportInitialize)(this.AccelerationChart)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.VelocityChart)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.GainChart)).BeginInit();
+ this.VelocityChartY = new System.Windows.Forms.DataVisualization.Charting.Chart();
+ this.AccelerationChartY = new System.Windows.Forms.DataVisualization.Charting.Chart();
+ this.GainChart = new System.Windows.Forms.DataVisualization.Charting.Chart();
+ this.VelocityChart = new System.Windows.Forms.DataVisualization.Charting.Chart();
+ this.AccelerationChart = new System.Windows.Forms.DataVisualization.Charting.Chart();
+ this.panel1.SuspendLayout();
this.menuStrip1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.AccelerationChartY)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.VelocityChartY)).BeginInit();
+ this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.GainChartY)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.VelocityChartY)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.AccelerationChartY)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.GainChart)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.VelocityChart)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.AccelerationChart)).BeginInit();
this.SuspendLayout();
//
- // AccelerationChart
+ // panel1
+ //
+ this.panel1.AutoSize = true;
+ this.panel1.Controls.Add(this.toggleButton);
+ this.panel1.Controls.Add(this.scaleLabelY);
+ this.panel1.Controls.Add(this.ScaleActiveYLabel);
+ this.panel1.Controls.Add(this.scaleBoxY);
+ this.panel1.Controls.Add(this.ScaleActiveXLabel);
+ this.panel1.Controls.Add(this.scaleLabelX);
+ this.panel1.Controls.Add(this.scaleBoxX);
+ this.panel1.Controls.Add(this.expLabelY);
+ this.panel1.Controls.Add(this.ExpActiveYLabel);
+ this.panel1.Controls.Add(this.expBoxY);
+ this.panel1.Controls.Add(this.ExpActiveXLabel);
+ this.panel1.Controls.Add(this.expLabelX);
+ this.panel1.Controls.Add(this.expBoxX);
+ this.panel1.Controls.Add(this.ActiveValueTitleY);
+ this.panel1.Controls.Add(this.AccelTypeActiveLabelY);
+ this.panel1.Controls.Add(this.OptionSetYTitle);
+ this.panel1.Controls.Add(this.OptionSetXTitle);
+ this.panel1.Controls.Add(this.constantThreeLabelY);
+ this.panel1.Controls.Add(this.limitLabelY);
+ this.panel1.Controls.Add(this.offsetLabelY);
+ this.panel1.Controls.Add(this.weightLabelY);
+ this.panel1.Controls.Add(this.capLabelY);
+ this.panel1.Controls.Add(this.constantOneLabelY);
+ this.panel1.Controls.Add(this.ByComponentXYLock);
+ this.panel1.Controls.Add(this.MidpointActiveYLabel);
+ this.panel1.Controls.Add(this.LimitActiveYLabel);
+ this.panel1.Controls.Add(this.OffsetActiveYLabel);
+ this.panel1.Controls.Add(this.AccelerationActiveLabelY);
+ this.panel1.Controls.Add(this.accelTypeDropY);
+ this.panel1.Controls.Add(this.midpointBoxY);
+ this.panel1.Controls.Add(this.limitBoxY);
+ this.panel1.Controls.Add(this.offsetBoxY);
+ this.panel1.Controls.Add(this.accelerationBoxY);
+ this.panel1.Controls.Add(this.MidpointActiveXLabel);
+ this.panel1.Controls.Add(this.LimitActiveXLabel);
+ this.panel1.Controls.Add(this.OffsetActiveXLabel);
+ this.panel1.Controls.Add(this.CapActiveYLabel);
+ this.panel1.Controls.Add(this.WeightActiveYLabel);
+ this.panel1.Controls.Add(this.WeightActiveXLabel);
+ this.panel1.Controls.Add(this.CapActiveXLabel);
+ this.panel1.Controls.Add(this.AccelerationActiveLabelX);
+ this.panel1.Controls.Add(this.AccelTypeActiveLabelX);
+ this.panel1.Controls.Add(this.RotationActiveLabel);
+ this.panel1.Controls.Add(this.SensitivityActiveYLabel);
+ this.panel1.Controls.Add(this.SensitivityActiveXLabel);
+ this.panel1.Controls.Add(this.ActiveValueTitle);
+ this.panel1.Controls.Add(this.MouseLabel);
+ this.panel1.Controls.Add(this.LockXYLabel);
+ this.panel1.Controls.Add(this.sensXYLock);
+ this.panel1.Controls.Add(this.capBoxY);
+ this.panel1.Controls.Add(this.sensitivityBoxY);
+ this.panel1.Controls.Add(this.writeButton);
+ this.panel1.Controls.Add(this.offsetLabelX);
+ this.panel1.Controls.Add(this.offsetBoxX);
+ this.panel1.Controls.Add(this.constantThreeLabelX);
+ this.panel1.Controls.Add(this.midpointBoxX);
+ this.panel1.Controls.Add(this.limitLabelX);
+ this.panel1.Controls.Add(this.limitBoxX);
+ this.panel1.Controls.Add(this.weightBoxY);
+ this.panel1.Controls.Add(this.weightLabelX);
+ this.panel1.Controls.Add(this.weightBoxX);
+ this.panel1.Controls.Add(this.capLabelX);
+ this.panel1.Controls.Add(this.capBoxX);
+ this.panel1.Controls.Add(this.constantOneLabelX);
+ this.panel1.Controls.Add(this.accelerationBoxX);
+ this.panel1.Controls.Add(this.rotationLabel);
+ this.panel1.Controls.Add(this.rotationBox);
+ this.panel1.Controls.Add(this.sensitivityLabel);
+ this.panel1.Controls.Add(this.sensitivityBoxX);
+ this.panel1.Controls.Add(this.accelTypeDropX);
+ this.panel1.Controls.Add(this.menuStrip1);
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
+ this.panel1.Location = new System.Drawing.Point(0, 0);
+ this.panel1.MinimumSize = new System.Drawing.Size(2, 333);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(483, 956);
+ this.panel1.TabIndex = 34;
+ this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
//
- chartArea1.AxisX.Title = "Input Speed (counts/ms)";
- chartArea1.AxisY.Title = "Ratio of Output to Input";
- chartArea1.Name = "ChartArea1";
- this.AccelerationChart.ChartAreas.Add(chartArea1);
- legend1.Name = "Legend1";
- this.AccelerationChart.Legends.Add(legend1);
- this.AccelerationChart.Location = new System.Drawing.Point(482, 0);
- this.AccelerationChart.Name = "AccelerationChart";
- series1.ChartArea = "ChartArea1";
- series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
- series1.Legend = "Legend1";
- series1.Name = "Accelerated Sensitivity";
- series2.ChartArea = "ChartArea1";
- series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
- series2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
- series2.Legend = "Legend1";
- series2.Name = "Last Mouse Move";
- series3.ChartArea = "ChartArea1";
- series3.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
- series3.Legend = "Legend1";
- series3.Name = "Y: Accelerated Sensitivity";
- series4.ChartArea = "ChartArea1";
- series4.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
- series4.IsVisibleInLegend = false;
- series4.Legend = "Legend1";
- series4.Name = "Y - Last Mouse Move";
- this.AccelerationChart.Series.Add(series1);
- this.AccelerationChart.Series.Add(series2);
- this.AccelerationChart.Series.Add(series3);
- this.AccelerationChart.Series.Add(series4);
- this.AccelerationChart.Size = new System.Drawing.Size(698, 328);
- this.AccelerationChart.TabIndex = 0;
- this.AccelerationChart.TabStop = false;
- this.AccelerationChart.Text = "Sensitivity";
- title1.DockedToChartArea = "ChartArea1";
- title1.IsDockedInsideChartArea = false;
- title1.Name = "Title";
- title1.Text = "Sensitivity";
- this.AccelerationChart.Titles.Add(title1);
+ // toggleButton
//
- // accelTypeDropX
+ this.toggleButton.Location = new System.Drawing.Point(214, 387);
+ this.toggleButton.Name = "toggleButton";
+ this.toggleButton.Size = new System.Drawing.Size(104, 24);
+ this.toggleButton.TabIndex = 112;
+ this.toggleButton.Text = "toggle";
+ this.toggleButton.UseVisualStyleBackColor = true;
//
- this.accelTypeDropX.FormattingEnabled = true;
- this.accelTypeDropX.Location = new System.Drawing.Point(105, 110);
- this.accelTypeDropX.Name = "accelTypeDropX";
- this.accelTypeDropX.Size = new System.Drawing.Size(76, 21);
- this.accelTypeDropX.TabIndex = 4;
- this.accelTypeDropX.Text = "Accel Type";
+ // scaleLabelY
//
- // sensitivityBoxX
+ this.scaleLabelY.AutoSize = true;
+ this.scaleLabelY.Location = new System.Drawing.Point(263, 333);
+ this.scaleLabelY.Name = "scaleLabelY";
+ this.scaleLabelY.Size = new System.Drawing.Size(34, 13);
+ this.scaleLabelY.TabIndex = 149;
+ this.scaleLabelY.Text = "Scale";
//
- this.sensitivityBoxX.Location = new System.Drawing.Point(105, 46);
- this.sensitivityBoxX.Name = "sensitivityBoxX";
- this.sensitivityBoxX.Size = new System.Drawing.Size(34, 20);
- this.sensitivityBoxX.TabIndex = 0;
+ // ScaleActiveYLabel
//
- // sensitivityLabel
+ this.ScaleActiveYLabel.AutoSize = true;
+ this.ScaleActiveYLabel.Location = new System.Drawing.Point(414, 333);
+ this.ScaleActiveYLabel.Name = "ScaleActiveYLabel";
+ this.ScaleActiveYLabel.Size = new System.Drawing.Size(13, 13);
+ this.ScaleActiveYLabel.TabIndex = 148;
+ this.ScaleActiveYLabel.Text = "0";
//
- this.sensitivityLabel.AutoSize = true;
- this.sensitivityLabel.Location = new System.Drawing.Point(24, 49);
- this.sensitivityLabel.Name = "sensitivityLabel";
- this.sensitivityLabel.Size = new System.Drawing.Size(54, 13);
- this.sensitivityLabel.TabIndex = 4;
- this.sensitivityLabel.Text = "Sensitivity";
+ // scaleBoxY
//
- // rotationBox
+ this.scaleBoxY.Location = new System.Drawing.Point(332, 330);
+ this.scaleBoxY.Name = "scaleBoxY";
+ this.scaleBoxY.Size = new System.Drawing.Size(76, 20);
+ this.scaleBoxY.TabIndex = 102;
//
- this.rotationBox.Location = new System.Drawing.Point(105, 72);
- this.rotationBox.Name = "rotationBox";
- this.rotationBox.Size = new System.Drawing.Size(76, 20);
- this.rotationBox.TabIndex = 3;
+ // ScaleActiveXLabel
//
- // rotationLabel
+ this.ScaleActiveXLabel.AutoSize = true;
+ this.ScaleActiveXLabel.Location = new System.Drawing.Point(197, 333);
+ this.ScaleActiveXLabel.Name = "ScaleActiveXLabel";
+ this.ScaleActiveXLabel.Size = new System.Drawing.Size(13, 13);
+ this.ScaleActiveXLabel.TabIndex = 147;
+ this.ScaleActiveXLabel.Text = "0";
//
- this.rotationLabel.AutoSize = true;
- this.rotationLabel.Location = new System.Drawing.Point(34, 75);
- this.rotationLabel.Name = "rotationLabel";
- this.rotationLabel.Size = new System.Drawing.Size(47, 13);
- this.rotationLabel.TabIndex = 6;
- this.rotationLabel.Text = "Rotation";
+ // scaleLabelX
//
- // accelerationBoxX
+ this.scaleLabelX.AutoSize = true;
+ this.scaleLabelX.Location = new System.Drawing.Point(37, 333);
+ this.scaleLabelX.Name = "scaleLabelX";
+ this.scaleLabelX.Size = new System.Drawing.Size(34, 13);
+ this.scaleLabelX.TabIndex = 146;
+ this.scaleLabelX.Text = "Scale";
+ this.scaleLabelX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- this.accelerationBoxX.Location = new System.Drawing.Point(105, 137);
- this.accelerationBoxX.Name = "accelerationBoxX";
- this.accelerationBoxX.Size = new System.Drawing.Size(76, 20);
- this.accelerationBoxX.TabIndex = 5;
+ // scaleBoxX
//
- // constantOneLabelX
+ this.scaleBoxX.Location = new System.Drawing.Point(106, 330);
+ this.scaleBoxX.Name = "scaleBoxX";
+ this.scaleBoxX.Size = new System.Drawing.Size(76, 20);
+ this.scaleBoxX.TabIndex = 88;
//
- this.constantOneLabelX.AutoSize = true;
- this.constantOneLabelX.Location = new System.Drawing.Point(24, 140);
- this.constantOneLabelX.Name = "constantOneLabelX";
- this.constantOneLabelX.Size = new System.Drawing.Size(66, 13);
- this.constantOneLabelX.TabIndex = 9;
- this.constantOneLabelX.Text = "Acceleration";
- this.constantOneLabelX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ // expLabelY
//
- // capBoxX
+ this.expLabelY.AutoSize = true;
+ this.expLabelY.Location = new System.Drawing.Point(263, 276);
+ this.expLabelY.Name = "expLabelY";
+ this.expLabelY.Size = new System.Drawing.Size(52, 13);
+ this.expLabelY.TabIndex = 145;
+ this.expLabelY.Text = "Exponent";
//
- this.capBoxX.Location = new System.Drawing.Point(105, 163);
- this.capBoxX.Name = "capBoxX";
- this.capBoxX.Size = new System.Drawing.Size(76, 20);
- this.capBoxX.TabIndex = 7;
+ // ExpActiveYLabel
//
- // capLabelX
+ this.ExpActiveYLabel.AutoSize = true;
+ this.ExpActiveYLabel.Location = new System.Drawing.Point(414, 276);
+ this.ExpActiveYLabel.Name = "ExpActiveYLabel";
+ this.ExpActiveYLabel.Size = new System.Drawing.Size(13, 13);
+ this.ExpActiveYLabel.TabIndex = 144;
+ this.ExpActiveYLabel.Text = "0";
//
- this.capLabelX.AutoSize = true;
- this.capLabelX.Location = new System.Drawing.Point(43, 166);
- this.capLabelX.Name = "capLabelX";
- this.capLabelX.Size = new System.Drawing.Size(26, 13);
- this.capLabelX.TabIndex = 11;
- this.capLabelX.Text = "Cap";
- this.capLabelX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ // expBoxY
//
- // weightBoxX
+ this.expBoxY.Location = new System.Drawing.Point(332, 273);
+ this.expBoxY.Name = "expBoxY";
+ this.expBoxY.Size = new System.Drawing.Size(76, 20);
+ this.expBoxY.TabIndex = 109;
//
- this.weightBoxX.Location = new System.Drawing.Point(105, 189);
- this.weightBoxX.Name = "weightBoxX";
- this.weightBoxX.Size = new System.Drawing.Size(76, 20);
- this.weightBoxX.TabIndex = 8;
+ // ExpActiveXLabel
//
- // weightLabelX
+ this.ExpActiveXLabel.AutoSize = true;
+ this.ExpActiveXLabel.Location = new System.Drawing.Point(197, 276);
+ this.ExpActiveXLabel.Name = "ExpActiveXLabel";
+ this.ExpActiveXLabel.Size = new System.Drawing.Size(13, 13);
+ this.ExpActiveXLabel.TabIndex = 143;
+ this.ExpActiveXLabel.Text = "0";
//
- this.weightLabelX.AutoSize = true;
- this.weightLabelX.Location = new System.Drawing.Point(40, 192);
- this.weightLabelX.Name = "weightLabelX";
- this.weightLabelX.Size = new System.Drawing.Size(41, 13);
- this.weightLabelX.TabIndex = 13;
- this.weightLabelX.Text = "Weight";
- this.weightLabelX.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ // expLabelX
//
- // weightBoxY
+ this.expLabelX.AutoSize = true;
+ this.expLabelX.Location = new System.Drawing.Point(37, 276);
+ this.expLabelX.Name = "expLabelX";
+ this.expLabelX.Size = new System.Drawing.Size(52, 13);
+ this.expLabelX.TabIndex = 142;
+ this.expLabelX.Text = "Exponent";
+ this.expLabelX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- this.weightBoxY.Location = new System.Drawing.Point(331, 189);
- this.weightBoxY.Name = "weightBoxY";
- this.weightBoxY.Size = new System.Drawing.Size(76, 20);
- this.weightBoxY.TabIndex = 18;
+ // expBoxX
//
- // limitBoxX
+ this.expBoxX.Location = new System.Drawing.Point(106, 273);
+ this.expBoxX.Name = "expBoxX";
+ this.expBoxX.Size = new System.Drawing.Size(76, 20);
+ this.expBoxX.TabIndex = 95;
//
- this.limitBoxX.Location = new System.Drawing.Point(105, 241);
- this.limitBoxX.Name = "limitBoxX";
- this.limitBoxX.Size = new System.Drawing.Size(76, 20);
- this.limitBoxX.TabIndex = 10;
+ // ActiveValueTitleY
//
- // limitLabelX
+ this.ActiveValueTitleY.AutoSize = true;
+ this.ActiveValueTitleY.Location = new System.Drawing.Point(429, 29);
+ this.ActiveValueTitleY.Name = "ActiveValueTitleY";
+ this.ActiveValueTitleY.Size = new System.Drawing.Size(41, 13);
+ this.ActiveValueTitleY.TabIndex = 141;
+ this.ActiveValueTitleY.Text = "Current";
//
- this.limitLabelX.AutoSize = true;
- this.limitLabelX.Location = new System.Drawing.Point(24, 244);
- this.limitLabelX.Name = "limitLabelX";
- this.limitLabelX.Size = new System.Drawing.Size(28, 13);
- this.limitLabelX.TabIndex = 16;
- this.limitLabelX.Text = "Limit";
- this.limitLabelX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ // AccelTypeActiveLabelY
//
- // midpointBoxX
+ this.AccelTypeActiveLabelY.AutoSize = true;
+ this.AccelTypeActiveLabelY.Location = new System.Drawing.Point(414, 116);
+ this.AccelTypeActiveLabelY.Name = "AccelTypeActiveLabelY";
+ this.AccelTypeActiveLabelY.Size = new System.Drawing.Size(66, 13);
+ this.AccelTypeActiveLabelY.TabIndex = 140;
+ this.AccelTypeActiveLabelY.Text = "SigmoidGain";
//
- this.midpointBoxX.Location = new System.Drawing.Point(105, 297);
- this.midpointBoxX.Name = "midpointBoxX";
- this.midpointBoxX.Size = new System.Drawing.Size(76, 20);
- this.midpointBoxX.TabIndex = 12;
+ // OptionSetYTitle
//
- // constantThreeLabelX
+ this.OptionSetYTitle.AutoSize = true;
+ this.OptionSetYTitle.Location = new System.Drawing.Point(360, 97);
+ this.OptionSetYTitle.Name = "OptionSetYTitle";
+ this.OptionSetYTitle.Size = new System.Drawing.Size(14, 13);
+ this.OptionSetYTitle.TabIndex = 139;
+ this.OptionSetYTitle.Text = "Y";
//
- this.constantThreeLabelX.AutoSize = true;
- this.constantThreeLabelX.Location = new System.Drawing.Point(34, 300);
- this.constantThreeLabelX.Name = "constantThreeLabelX";
- this.constantThreeLabelX.Size = new System.Drawing.Size(47, 13);
- this.constantThreeLabelX.TabIndex = 18;
- this.constantThreeLabelX.Text = "Midpoint";
- this.constantThreeLabelX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ // OptionSetXTitle
//
- // offsetBoxX
+ this.OptionSetXTitle.AutoSize = true;
+ this.OptionSetXTitle.Location = new System.Drawing.Point(143, 97);
+ this.OptionSetXTitle.Name = "OptionSetXTitle";
+ this.OptionSetXTitle.Size = new System.Drawing.Size(14, 13);
+ this.OptionSetXTitle.TabIndex = 138;
+ this.OptionSetXTitle.Text = "X";
//
- this.offsetBoxX.Location = new System.Drawing.Point(105, 215);
- this.offsetBoxX.Name = "offsetBoxX";
- this.offsetBoxX.Size = new System.Drawing.Size(76, 20);
- this.offsetBoxX.TabIndex = 9;
+ // constantThreeLabelY
//
- // offsetLabelX
+ this.constantThreeLabelY.AutoSize = true;
+ this.constantThreeLabelY.Location = new System.Drawing.Point(263, 303);
+ this.constantThreeLabelY.Name = "constantThreeLabelY";
+ this.constantThreeLabelY.Size = new System.Drawing.Size(47, 13);
+ this.constantThreeLabelY.TabIndex = 137;
+ this.constantThreeLabelY.Text = "Midpoint";
//
- this.offsetLabelX.AutoSize = true;
- this.offsetLabelX.Location = new System.Drawing.Point(43, 218);
- this.offsetLabelX.Name = "offsetLabelX";
- this.offsetLabelX.Size = new System.Drawing.Size(35, 13);
- this.offsetLabelX.TabIndex = 20;
- this.offsetLabelX.Text = "Offset";
- this.offsetLabelX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ // limitLabelY
//
- // writeButton
+ this.limitLabelY.AutoSize = true;
+ this.limitLabelY.Location = new System.Drawing.Point(263, 247);
+ this.limitLabelY.Name = "limitLabelY";
+ this.limitLabelY.Size = new System.Drawing.Size(28, 13);
+ this.limitLabelY.TabIndex = 136;
+ this.limitLabelY.Text = "Limit";
//
- this.writeButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
- this.writeButton.Location = new System.Drawing.Point(103, 377);
- this.writeButton.Name = "writeButton";
- this.writeButton.Size = new System.Drawing.Size(92, 35);
- this.writeButton.TabIndex = 23;
- this.writeButton.Text = "Apply";
- this.writeButton.UseVisualStyleBackColor = true;
+ // offsetLabelY
//
- // sensitivityBoxY
+ this.offsetLabelY.AutoSize = true;
+ this.offsetLabelY.Location = new System.Drawing.Point(263, 221);
+ this.offsetLabelY.Name = "offsetLabelY";
+ this.offsetLabelY.Size = new System.Drawing.Size(35, 13);
+ this.offsetLabelY.TabIndex = 135;
+ this.offsetLabelY.Text = "Offset";
//
- this.sensitivityBoxY.Location = new System.Drawing.Point(147, 46);
- this.sensitivityBoxY.Name = "sensitivityBoxY";
- this.sensitivityBoxY.Size = new System.Drawing.Size(34, 20);
- this.sensitivityBoxY.TabIndex = 1;
+ // weightLabelY
//
- // capBoxY
+ this.weightLabelY.AutoSize = true;
+ this.weightLabelY.Location = new System.Drawing.Point(263, 195);
+ this.weightLabelY.Name = "weightLabelY";
+ this.weightLabelY.Size = new System.Drawing.Size(41, 13);
+ this.weightLabelY.TabIndex = 134;
+ this.weightLabelY.Text = "Weight";
//
- this.capBoxY.Location = new System.Drawing.Point(331, 163);
- this.capBoxY.Name = "capBoxY";
- this.capBoxY.Size = new System.Drawing.Size(76, 20);
- this.capBoxY.TabIndex = 17;
+ // capLabelY
+ //
+ this.capLabelY.AutoSize = true;
+ this.capLabelY.Location = new System.Drawing.Point(263, 169);
+ this.capLabelY.Name = "capLabelY";
+ this.capLabelY.Size = new System.Drawing.Size(26, 13);
+ this.capLabelY.TabIndex = 133;
+ this.capLabelY.Text = "Cap";
+ //
+ // constantOneLabelY
+ //
+ this.constantOneLabelY.AutoSize = true;
+ this.constantOneLabelY.Location = new System.Drawing.Point(263, 143);
+ this.constantOneLabelY.Name = "constantOneLabelY";
+ this.constantOneLabelY.Size = new System.Drawing.Size(66, 13);
+ this.constantOneLabelY.TabIndex = 132;
+ this.constantOneLabelY.Text = "Acceleration";
+ //
+ // ByComponentXYLock
+ //
+ this.ByComponentXYLock.AutoSize = true;
+ this.ByComponentXYLock.Checked = true;
+ this.ByComponentXYLock.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.ByComponentXYLock.Location = new System.Drawing.Point(283, 96);
+ this.ByComponentXYLock.Name = "ByComponentXYLock";
+ this.ByComponentXYLock.Size = new System.Drawing.Size(15, 14);
+ this.ByComponentXYLock.TabIndex = 98;
+ this.ByComponentXYLock.UseVisualStyleBackColor = true;
+ //
+ // MidpointActiveYLabel
+ //
+ this.MidpointActiveYLabel.AutoSize = true;
+ this.MidpointActiveYLabel.Location = new System.Drawing.Point(414, 303);
+ this.MidpointActiveYLabel.Name = "MidpointActiveYLabel";
+ this.MidpointActiveYLabel.Size = new System.Drawing.Size(13, 13);
+ this.MidpointActiveYLabel.TabIndex = 131;
+ this.MidpointActiveYLabel.Text = "0";
+ //
+ // LimitActiveYLabel
+ //
+ this.LimitActiveYLabel.AutoSize = true;
+ this.LimitActiveYLabel.Location = new System.Drawing.Point(414, 247);
+ this.LimitActiveYLabel.Name = "LimitActiveYLabel";
+ this.LimitActiveYLabel.Size = new System.Drawing.Size(13, 13);
+ this.LimitActiveYLabel.TabIndex = 130;
+ this.LimitActiveYLabel.Text = "0";
+ //
+ // OffsetActiveYLabel
+ //
+ this.OffsetActiveYLabel.AutoSize = true;
+ this.OffsetActiveYLabel.Location = new System.Drawing.Point(414, 221);
+ this.OffsetActiveYLabel.Name = "OffsetActiveYLabel";
+ this.OffsetActiveYLabel.Size = new System.Drawing.Size(13, 13);
+ this.OffsetActiveYLabel.TabIndex = 129;
+ this.OffsetActiveYLabel.Text = "0";
+ //
+ // AccelerationActiveLabelY
+ //
+ this.AccelerationActiveLabelY.AutoSize = true;
+ this.AccelerationActiveLabelY.Location = new System.Drawing.Point(414, 143);
+ this.AccelerationActiveLabelY.Name = "AccelerationActiveLabelY";
+ this.AccelerationActiveLabelY.Size = new System.Drawing.Size(13, 13);
+ this.AccelerationActiveLabelY.TabIndex = 128;
+ this.AccelerationActiveLabelY.Text = "0";
+ //
+ // accelTypeDropY
+ //
+ this.accelTypeDropY.FormattingEnabled = true;
+ this.accelTypeDropY.Location = new System.Drawing.Point(332, 113);
+ this.accelTypeDropY.Name = "accelTypeDropY";
+ this.accelTypeDropY.Size = new System.Drawing.Size(76, 21);
+ this.accelTypeDropY.TabIndex = 99;
+ this.accelTypeDropY.Text = "Accel Type";
+ //
+ // midpointBoxY
+ //
+ this.midpointBoxY.Location = new System.Drawing.Point(332, 300);
+ this.midpointBoxY.Name = "midpointBoxY";
+ this.midpointBoxY.Size = new System.Drawing.Size(76, 20);
+ this.midpointBoxY.TabIndex = 110;
+ //
+ // limitBoxY
+ //
+ this.limitBoxY.Location = new System.Drawing.Point(332, 244);
+ this.limitBoxY.Name = "limitBoxY";
+ this.limitBoxY.Size = new System.Drawing.Size(76, 20);
+ this.limitBoxY.TabIndex = 108;
+ //
+ // offsetBoxY
+ //
+ this.offsetBoxY.Location = new System.Drawing.Point(332, 218);
+ this.offsetBoxY.Name = "offsetBoxY";
+ this.offsetBoxY.Size = new System.Drawing.Size(76, 20);
+ this.offsetBoxY.TabIndex = 106;
+ //
+ // accelerationBoxY
+ //
+ this.accelerationBoxY.Location = new System.Drawing.Point(332, 140);
+ this.accelerationBoxY.Name = "accelerationBoxY";
+ this.accelerationBoxY.Size = new System.Drawing.Size(76, 20);
+ this.accelerationBoxY.TabIndex = 100;
+ //
+ // MidpointActiveXLabel
+ //
+ this.MidpointActiveXLabel.AutoSize = true;
+ this.MidpointActiveXLabel.Location = new System.Drawing.Point(197, 303);
+ this.MidpointActiveXLabel.Name = "MidpointActiveXLabel";
+ this.MidpointActiveXLabel.Size = new System.Drawing.Size(13, 13);
+ this.MidpointActiveXLabel.TabIndex = 127;
+ this.MidpointActiveXLabel.Text = "0";
+ //
+ // LimitActiveXLabel
+ //
+ this.LimitActiveXLabel.AutoSize = true;
+ this.LimitActiveXLabel.Location = new System.Drawing.Point(197, 247);
+ this.LimitActiveXLabel.Name = "LimitActiveXLabel";
+ this.LimitActiveXLabel.Size = new System.Drawing.Size(13, 13);
+ this.LimitActiveXLabel.TabIndex = 126;
+ this.LimitActiveXLabel.Text = "0";
+ //
+ // OffsetActiveXLabel
+ //
+ this.OffsetActiveXLabel.AutoSize = true;
+ this.OffsetActiveXLabel.Location = new System.Drawing.Point(197, 221);
+ this.OffsetActiveXLabel.Name = "OffsetActiveXLabel";
+ this.OffsetActiveXLabel.Size = new System.Drawing.Size(13, 13);
+ this.OffsetActiveXLabel.TabIndex = 125;
+ this.OffsetActiveXLabel.Text = "0";
+ //
+ // CapActiveYLabel
+ //
+ this.CapActiveYLabel.AutoSize = true;
+ this.CapActiveYLabel.Location = new System.Drawing.Point(414, 169);
+ this.CapActiveYLabel.Name = "CapActiveYLabel";
+ this.CapActiveYLabel.Size = new System.Drawing.Size(13, 13);
+ this.CapActiveYLabel.TabIndex = 124;
+ this.CapActiveYLabel.Text = "0";
+ //
+ // WeightActiveYLabel
+ //
+ this.WeightActiveYLabel.AutoSize = true;
+ this.WeightActiveYLabel.Location = new System.Drawing.Point(414, 195);
+ this.WeightActiveYLabel.Name = "WeightActiveYLabel";
+ this.WeightActiveYLabel.Size = new System.Drawing.Size(13, 13);
+ this.WeightActiveYLabel.TabIndex = 123;
+ this.WeightActiveYLabel.Text = "0";
+ //
+ // WeightActiveXLabel
+ //
+ this.WeightActiveXLabel.AutoSize = true;
+ this.WeightActiveXLabel.Location = new System.Drawing.Point(197, 195);
+ this.WeightActiveXLabel.Name = "WeightActiveXLabel";
+ this.WeightActiveXLabel.Size = new System.Drawing.Size(13, 13);
+ this.WeightActiveXLabel.TabIndex = 122;
+ this.WeightActiveXLabel.Text = "0";
+ //
+ // CapActiveXLabel
+ //
+ this.CapActiveXLabel.AutoSize = true;
+ this.CapActiveXLabel.Location = new System.Drawing.Point(197, 169);
+ this.CapActiveXLabel.Name = "CapActiveXLabel";
+ this.CapActiveXLabel.Size = new System.Drawing.Size(13, 13);
+ this.CapActiveXLabel.TabIndex = 121;
+ this.CapActiveXLabel.Text = "0";
+ //
+ // AccelerationActiveLabelX
+ //
+ this.AccelerationActiveLabelX.AutoSize = true;
+ this.AccelerationActiveLabelX.Location = new System.Drawing.Point(197, 143);
+ this.AccelerationActiveLabelX.Name = "AccelerationActiveLabelX";
+ this.AccelerationActiveLabelX.Size = new System.Drawing.Size(13, 13);
+ this.AccelerationActiveLabelX.TabIndex = 120;
+ this.AccelerationActiveLabelX.Text = "0";
+ //
+ // AccelTypeActiveLabelX
+ //
+ this.AccelTypeActiveLabelX.AutoSize = true;
+ this.AccelTypeActiveLabelX.Location = new System.Drawing.Point(197, 116);
+ this.AccelTypeActiveLabelX.Name = "AccelTypeActiveLabelX";
+ this.AccelTypeActiveLabelX.Size = new System.Drawing.Size(66, 13);
+ this.AccelTypeActiveLabelX.TabIndex = 119;
+ this.AccelTypeActiveLabelX.Text = "SigmoidGain";
+ //
+ // RotationActiveLabel
+ //
+ this.RotationActiveLabel.AutoSize = true;
+ this.RotationActiveLabel.Location = new System.Drawing.Point(197, 78);
+ this.RotationActiveLabel.Name = "RotationActiveLabel";
+ this.RotationActiveLabel.Size = new System.Drawing.Size(13, 13);
+ this.RotationActiveLabel.TabIndex = 118;
+ this.RotationActiveLabel.Text = "0";
+ //
+ // SensitivityActiveYLabel
+ //
+ this.SensitivityActiveYLabel.AutoSize = true;
+ this.SensitivityActiveYLabel.Location = new System.Drawing.Point(217, 52);
+ this.SensitivityActiveYLabel.Name = "SensitivityActiveYLabel";
+ this.SensitivityActiveYLabel.Size = new System.Drawing.Size(14, 13);
+ this.SensitivityActiveYLabel.TabIndex = 117;
+ this.SensitivityActiveYLabel.Text = "Y";
+ //
+ // SensitivityActiveXLabel
+ //
+ this.SensitivityActiveXLabel.AutoSize = true;
+ this.SensitivityActiveXLabel.Location = new System.Drawing.Point(188, 52);
+ this.SensitivityActiveXLabel.Name = "SensitivityActiveXLabel";
+ this.SensitivityActiveXLabel.Size = new System.Drawing.Size(14, 13);
+ this.SensitivityActiveXLabel.TabIndex = 116;
+ this.SensitivityActiveXLabel.Text = "X";
+ //
+ // ActiveValueTitle
+ //
+ this.ActiveValueTitle.AutoSize = true;
+ this.ActiveValueTitle.Location = new System.Drawing.Point(188, 29);
+ this.ActiveValueTitle.Name = "ActiveValueTitle";
+ this.ActiveValueTitle.Size = new System.Drawing.Size(41, 13);
+ this.ActiveValueTitle.TabIndex = 115;
+ this.ActiveValueTitle.Text = "Current";
+ //
+ // MouseLabel
+ //
+ this.MouseLabel.AutoSize = true;
+ this.MouseLabel.Location = new System.Drawing.Point(2, 27);
+ this.MouseLabel.Name = "MouseLabel";
+ this.MouseLabel.Size = new System.Drawing.Size(80, 13);
+ this.MouseLabel.TabIndex = 114;
+ this.MouseLabel.Text = "Last (x, y): (x, y)";
+ //
+ // LockXYLabel
+ //
+ this.LockXYLabel.AutoSize = true;
+ this.LockXYLabel.Location = new System.Drawing.Point(256, 29);
+ this.LockXYLabel.Name = "LockXYLabel";
+ this.LockXYLabel.Size = new System.Drawing.Size(60, 13);
+ this.LockXYLabel.TabIndex = 113;
+ this.LockXYLabel.Text = "Lock X && Y";
//
// sensXYLock
//
this.sensXYLock.AutoSize = true;
this.sensXYLock.Checked = true;
this.sensXYLock.CheckState = System.Windows.Forms.CheckState.Checked;
- this.sensXYLock.Location = new System.Drawing.Point(282, 46);
+ this.sensXYLock.Location = new System.Drawing.Point(283, 49);
this.sensXYLock.Name = "sensXYLock";
this.sensXYLock.Size = new System.Drawing.Size(15, 14);
- this.sensXYLock.TabIndex = 2;
+ this.sensXYLock.TabIndex = 82;
this.sensXYLock.UseVisualStyleBackColor = true;
//
- // LockXYLabel
+ // capBoxY
//
- this.LockXYLabel.AutoSize = true;
- this.LockXYLabel.Location = new System.Drawing.Point(255, 30);
- this.LockXYLabel.Name = "LockXYLabel";
- this.LockXYLabel.Size = new System.Drawing.Size(60, 13);
- this.LockXYLabel.TabIndex = 27;
- this.LockXYLabel.Text = "Lock X && Y";
+ this.capBoxY.Location = new System.Drawing.Point(332, 166);
+ this.capBoxY.Name = "capBoxY";
+ this.capBoxY.Size = new System.Drawing.Size(76, 20);
+ this.capBoxY.TabIndex = 103;
//
- // VelocityChart
+ // sensitivityBoxY
//
- chartArea2.AxisX.Title = "Input Speed (count/ms)";
- chartArea2.AxisY.Title = "Output Speed (counts/ms)";
- chartArea2.Name = "ChartArea1";
- this.VelocityChart.ChartAreas.Add(chartArea2);
- legend2.Name = "Legend1";
- this.VelocityChart.Legends.Add(legend2);
- this.VelocityChart.Location = new System.Drawing.Point(482, 334);
- this.VelocityChart.Name = "VelocityChart";
- series5.ChartArea = "ChartArea1";
- series5.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
- series5.Legend = "Legend1";
- series5.Name = "Output Velocity";
- series6.ChartArea = "ChartArea1";
- series6.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
- series6.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
- series6.Legend = "Legend1";
- series6.Name = "Last Mouse Move";
- series7.ChartArea = "ChartArea1";
- series7.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
- series7.Legend = "Legend1";
- series7.Name = "Y: Output Velocity";
- series8.ChartArea = "ChartArea1";
- series8.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
- series8.IsVisibleInLegend = false;
- series8.Legend = "Legend1";
- series8.Name = "Y: Last Mouse Move";
- this.VelocityChart.Series.Add(series5);
- this.VelocityChart.Series.Add(series6);
- this.VelocityChart.Series.Add(series7);
- this.VelocityChart.Series.Add(series8);
- this.VelocityChart.Size = new System.Drawing.Size(698, 307);
- this.VelocityChart.TabIndex = 28;
- this.VelocityChart.TabStop = false;
- this.VelocityChart.Text = "chart1";
- title2.DockedToChartArea = "ChartArea1";
- title2.IsDockedInsideChartArea = false;
- title2.Name = "Title";
- title2.Text = "Velocity";
- this.VelocityChart.Titles.Add(title2);
+ this.sensitivityBoxY.Location = new System.Drawing.Point(148, 49);
+ this.sensitivityBoxY.Name = "sensitivityBoxY";
+ this.sensitivityBoxY.Size = new System.Drawing.Size(34, 20);
+ this.sensitivityBoxY.TabIndex = 81;
//
- // GainChart
+ // writeButton
//
- chartArea3.AxisX.Title = "Input Speed (counts/ms)";
- chartArea3.AxisY.Title = "Slope of Velocity Chart";
- chartArea3.Name = "ChartArea1";
- this.GainChart.ChartAreas.Add(chartArea3);
- legend3.Name = "Legend1";
- this.GainChart.Legends.Add(legend3);
- this.GainChart.Location = new System.Drawing.Point(482, 647);
- this.GainChart.Name = "GainChart";
- series9.ChartArea = "ChartArea1";
- series9.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
- series9.Legend = "Legend1";
- series9.Name = "Velocity Gain";
- series10.ChartArea = "ChartArea1";
- series10.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
- series10.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
- series10.Legend = "Legend1";
- series10.Name = "Last Mouse Move";
- series11.ChartArea = "ChartArea1";
- series11.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
- series11.Legend = "Legend1";
- series11.Name = "Y: Velocity Gain";
- series12.ChartArea = "ChartArea1";
- series12.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
- series12.IsVisibleInLegend = false;
- series12.Legend = "Legend1";
- series12.Name = "Y: Last Mouse Move";
- this.GainChart.Series.Add(series9);
- this.GainChart.Series.Add(series10);
- this.GainChart.Series.Add(series11);
- this.GainChart.Series.Add(series12);
- this.GainChart.Size = new System.Drawing.Size(698, 309);
- this.GainChart.TabIndex = 29;
- this.GainChart.TabStop = false;
- this.GainChart.Text = "chart1";
- title3.DockedToChartArea = "ChartArea1";
- title3.IsDockedInsideChartArea = false;
- title3.Name = "Title";
- title3.Text = "Gain";
- this.GainChart.Titles.Add(title3);
+ this.writeButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
+ this.writeButton.Location = new System.Drawing.Point(94, 380);
+ this.writeButton.Name = "writeButton";
+ this.writeButton.Size = new System.Drawing.Size(92, 35);
+ this.writeButton.TabIndex = 111;
+ this.writeButton.Text = "Apply";
+ this.writeButton.UseVisualStyleBackColor = true;
+ //
+ // offsetLabelX
+ //
+ this.offsetLabelX.AutoSize = true;
+ this.offsetLabelX.Location = new System.Drawing.Point(37, 221);
+ this.offsetLabelX.Name = "offsetLabelX";
+ this.offsetLabelX.Size = new System.Drawing.Size(35, 13);
+ this.offsetLabelX.TabIndex = 107;
+ this.offsetLabelX.Text = "Offset";
+ this.offsetLabelX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // offsetBoxX
+ //
+ this.offsetBoxX.Location = new System.Drawing.Point(106, 218);
+ this.offsetBoxX.Name = "offsetBoxX";
+ this.offsetBoxX.Size = new System.Drawing.Size(76, 20);
+ this.offsetBoxX.TabIndex = 92;
+ //
+ // constantThreeLabelX
+ //
+ this.constantThreeLabelX.AutoSize = true;
+ this.constantThreeLabelX.Location = new System.Drawing.Point(37, 303);
+ this.constantThreeLabelX.Name = "constantThreeLabelX";
+ this.constantThreeLabelX.Size = new System.Drawing.Size(47, 13);
+ this.constantThreeLabelX.TabIndex = 105;
+ this.constantThreeLabelX.Text = "Midpoint";
+ this.constantThreeLabelX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // midpointBoxX
+ //
+ this.midpointBoxX.Location = new System.Drawing.Point(106, 300);
+ this.midpointBoxX.Name = "midpointBoxX";
+ this.midpointBoxX.Size = new System.Drawing.Size(76, 20);
+ this.midpointBoxX.TabIndex = 96;
+ //
+ // limitLabelX
+ //
+ this.limitLabelX.AutoSize = true;
+ this.limitLabelX.Location = new System.Drawing.Point(37, 247);
+ this.limitLabelX.Name = "limitLabelX";
+ this.limitLabelX.Size = new System.Drawing.Size(28, 13);
+ this.limitLabelX.TabIndex = 101;
+ this.limitLabelX.Text = "Limit";
+ this.limitLabelX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // limitBoxX
+ //
+ this.limitBoxX.Location = new System.Drawing.Point(106, 244);
+ this.limitBoxX.Name = "limitBoxX";
+ this.limitBoxX.Size = new System.Drawing.Size(76, 20);
+ this.limitBoxX.TabIndex = 93;
+ //
+ // weightBoxY
+ //
+ this.weightBoxY.Location = new System.Drawing.Point(332, 192);
+ this.weightBoxY.Name = "weightBoxY";
+ this.weightBoxY.Size = new System.Drawing.Size(76, 20);
+ this.weightBoxY.TabIndex = 104;
+ //
+ // weightLabelX
+ //
+ this.weightLabelX.AutoSize = true;
+ this.weightLabelX.Location = new System.Drawing.Point(37, 195);
+ this.weightLabelX.Name = "weightLabelX";
+ this.weightLabelX.Size = new System.Drawing.Size(41, 13);
+ this.weightLabelX.TabIndex = 97;
+ this.weightLabelX.Text = "Weight";
+ this.weightLabelX.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // weightBoxX
+ //
+ this.weightBoxX.Location = new System.Drawing.Point(106, 192);
+ this.weightBoxX.Name = "weightBoxX";
+ this.weightBoxX.Size = new System.Drawing.Size(76, 20);
+ this.weightBoxX.TabIndex = 90;
+ //
+ // capLabelX
+ //
+ this.capLabelX.AutoSize = true;
+ this.capLabelX.Location = new System.Drawing.Point(37, 169);
+ this.capLabelX.Name = "capLabelX";
+ this.capLabelX.Size = new System.Drawing.Size(26, 13);
+ this.capLabelX.TabIndex = 94;
+ this.capLabelX.Text = "Cap";
+ this.capLabelX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // capBoxX
+ //
+ this.capBoxX.Location = new System.Drawing.Point(106, 166);
+ this.capBoxX.Name = "capBoxX";
+ this.capBoxX.Size = new System.Drawing.Size(76, 20);
+ this.capBoxX.TabIndex = 89;
+ //
+ // constantOneLabelX
+ //
+ this.constantOneLabelX.AutoSize = true;
+ this.constantOneLabelX.Location = new System.Drawing.Point(37, 143);
+ this.constantOneLabelX.Name = "constantOneLabelX";
+ this.constantOneLabelX.Size = new System.Drawing.Size(66, 13);
+ this.constantOneLabelX.TabIndex = 91;
+ this.constantOneLabelX.Text = "Acceleration";
+ this.constantOneLabelX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // accelerationBoxX
+ //
+ this.accelerationBoxX.Location = new System.Drawing.Point(106, 140);
+ this.accelerationBoxX.Name = "accelerationBoxX";
+ this.accelerationBoxX.Size = new System.Drawing.Size(76, 20);
+ this.accelerationBoxX.TabIndex = 86;
+ //
+ // rotationLabel
+ //
+ this.rotationLabel.AutoSize = true;
+ this.rotationLabel.Location = new System.Drawing.Point(35, 78);
+ this.rotationLabel.Name = "rotationLabel";
+ this.rotationLabel.Size = new System.Drawing.Size(47, 13);
+ this.rotationLabel.TabIndex = 87;
+ this.rotationLabel.Text = "Rotation";
+ //
+ // rotationBox
+ //
+ this.rotationBox.Location = new System.Drawing.Point(106, 75);
+ this.rotationBox.Name = "rotationBox";
+ this.rotationBox.Size = new System.Drawing.Size(76, 20);
+ this.rotationBox.TabIndex = 83;
+ //
+ // sensitivityLabel
+ //
+ this.sensitivityLabel.AutoSize = true;
+ this.sensitivityLabel.Location = new System.Drawing.Point(25, 52);
+ this.sensitivityLabel.Name = "sensitivityLabel";
+ this.sensitivityLabel.Size = new System.Drawing.Size(54, 13);
+ this.sensitivityLabel.TabIndex = 85;
+ this.sensitivityLabel.Text = "Sensitivity";
+ //
+ // sensitivityBoxX
+ //
+ this.sensitivityBoxX.Location = new System.Drawing.Point(106, 49);
+ this.sensitivityBoxX.Name = "sensitivityBoxX";
+ this.sensitivityBoxX.Size = new System.Drawing.Size(34, 20);
+ this.sensitivityBoxX.TabIndex = 80;
+ //
+ // accelTypeDropX
+ //
+ this.accelTypeDropX.FormattingEnabled = true;
+ this.accelTypeDropX.Location = new System.Drawing.Point(106, 113);
+ this.accelTypeDropX.Name = "accelTypeDropX";
+ this.accelTypeDropX.Size = new System.Drawing.Size(76, 21);
+ this.accelTypeDropX.TabIndex = 84;
+ this.accelTypeDropX.Text = "Accel Type";
//
// menuStrip1
//
@@ -503,8 +874,8 @@ namespace grapher
this.advancedToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
- this.menuStrip1.Size = new System.Drawing.Size(1884, 24);
- this.menuStrip1.TabIndex = 30;
+ this.menuStrip1.Size = new System.Drawing.Size(483, 24);
+ this.menuStrip1.TabIndex = 31;
this.menuStrip1.Text = "menuStrip1";
//
// graphsToolStripMenuItem
@@ -656,726 +1027,385 @@ namespace grapher
this.byVectorComponentToolStripMenuItem.Size = new System.Drawing.Size(154, 22);
this.byVectorComponentToolStripMenuItem.Text = "By Component";
//
+ // panel2
+ //
+ this.panel2.AutoScroll = true;
+ this.panel2.Controls.Add(this.GainChartY);
+ this.panel2.Controls.Add(this.VelocityChartY);
+ this.panel2.Controls.Add(this.AccelerationChartY);
+ this.panel2.Controls.Add(this.GainChart);
+ this.panel2.Controls.Add(this.VelocityChart);
+ this.panel2.Controls.Add(this.AccelerationChart);
+ this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel2.Location = new System.Drawing.Point(483, 0);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(1401, 956);
+ this.panel2.TabIndex = 35;
+ //
+ // GainChartY
+ //
+ chartArea1.AxisX.Title = "Input Speed (counts/ms)";
+ chartArea1.AxisY.Title = "Slope of Velocity Chart";
+ chartArea1.Name = "ChartArea1";
+ this.GainChartY.ChartAreas.Add(chartArea1);
+ legend1.Name = "Legend1";
+ this.GainChartY.Legends.Add(legend1);
+ this.GainChartY.Location = new System.Drawing.Point(699, 645);
+ this.GainChartY.Name = "GainChartY";
+ series1.ChartArea = "ChartArea1";
+ series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
+ series1.Legend = "Legend1";
+ series1.Name = "Velocity Gain";
+ series2.ChartArea = "ChartArea1";
+ series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
+ series2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
+ series2.Legend = "Legend1";
+ series2.Name = "Last Mouse Move";
+ series3.ChartArea = "ChartArea1";
+ series3.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
+ series3.IsVisibleInLegend = false;
+ series3.Legend = "Legend1";
+ series3.Name = "Placeholder";
+ this.GainChartY.Series.Add(series1);
+ this.GainChartY.Series.Add(series2);
+ this.GainChartY.Series.Add(series3);
+ this.GainChartY.Size = new System.Drawing.Size(698, 308);
+ this.GainChartY.TabIndex = 39;
+ this.GainChartY.TabStop = false;
+ this.GainChartY.Text = "chart1";
+ title1.DockedToChartArea = "ChartArea1";
+ title1.IsDockedInsideChartArea = false;
+ title1.Name = "Title";
+ title1.Text = "Gain";
+ this.GainChartY.Titles.Add(title1);
+ //
+ // VelocityChartY
+ //
+ chartArea2.AxisX.Title = "Input Speed (count/ms)";
+ chartArea2.AxisY.Title = "Output Speed (counts/ms)";
+ chartArea2.Name = "ChartArea1";
+ this.VelocityChartY.ChartAreas.Add(chartArea2);
+ legend2.Name = "Legend1";
+ this.VelocityChartY.Legends.Add(legend2);
+ this.VelocityChartY.Location = new System.Drawing.Point(699, 332);
+ this.VelocityChartY.Name = "VelocityChartY";
+ series4.ChartArea = "ChartArea1";
+ series4.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
+ series4.Legend = "Legend1";
+ series4.Name = "Output Velocity";
+ series5.ChartArea = "ChartArea1";
+ series5.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
+ series5.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
+ series5.Legend = "Legend1";
+ series5.Name = "Last Mouse Move";
+ series6.ChartArea = "ChartArea1";
+ series6.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
+ series6.IsVisibleInLegend = false;
+ series6.Legend = "Legend1";
+ series6.Name = "Placeholder";
+ this.VelocityChartY.Series.Add(series4);
+ this.VelocityChartY.Series.Add(series5);
+ this.VelocityChartY.Series.Add(series6);
+ this.VelocityChartY.Size = new System.Drawing.Size(698, 308);
+ this.VelocityChartY.TabIndex = 38;
+ this.VelocityChartY.TabStop = false;
+ this.VelocityChartY.Text = "chart1";
+ title2.DockedToChartArea = "ChartArea1";
+ title2.IsDockedInsideChartArea = false;
+ title2.Name = "Title";
+ title2.Text = "Velocity";
+ this.VelocityChartY.Titles.Add(title2);
+ //
// AccelerationChartY
//
+ chartArea3.AxisX.Title = "Input Speed (counts/ms)";
+ chartArea3.AxisY.Title = "Ratio of Output to Input)";
+ chartArea3.Name = "ChartArea1";
+ this.AccelerationChartY.ChartAreas.Add(chartArea3);
+ legend3.Name = "Legend1";
+ this.AccelerationChartY.Legends.Add(legend3);
+ this.AccelerationChartY.Location = new System.Drawing.Point(699, -2);
+ this.AccelerationChartY.Name = "AccelerationChartY";
+ series7.ChartArea = "ChartArea1";
+ series7.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
+ series7.Legend = "Legend1";
+ series7.Name = "Accelerated Sensitivity";
+ series8.ChartArea = "ChartArea1";
+ series8.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
+ series8.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
+ series8.Legend = "Legend1";
+ series8.Name = "Last Mouse Move";
+ series9.ChartArea = "ChartArea1";
+ series9.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
+ series9.IsVisibleInLegend = false;
+ series9.Legend = "Legend1";
+ series9.Name = "Placeholder";
+ this.AccelerationChartY.Series.Add(series7);
+ this.AccelerationChartY.Series.Add(series8);
+ this.AccelerationChartY.Series.Add(series9);
+ this.AccelerationChartY.Size = new System.Drawing.Size(698, 328);
+ this.AccelerationChartY.TabIndex = 37;
+ this.AccelerationChartY.TabStop = false;
+ this.AccelerationChartY.Text = "chart1";
+ title3.DockedToChartArea = "ChartArea1";
+ title3.IsDockedInsideChartArea = false;
+ title3.Name = "Title";
+ title3.Text = "Sensitivity";
+ this.AccelerationChartY.Titles.Add(title3);
+ //
+ // GainChart
+ //
chartArea4.AxisX.Title = "Input Speed (counts/ms)";
- chartArea4.AxisY.Title = "Ratio of Output to Input)";
+ chartArea4.AxisY.Title = "Slope of Velocity Chart";
chartArea4.Name = "ChartArea1";
- this.AccelerationChartY.ChartAreas.Add(chartArea4);
+ this.GainChart.ChartAreas.Add(chartArea4);
legend4.Name = "Legend1";
- this.AccelerationChartY.Legends.Add(legend4);
- this.AccelerationChartY.Location = new System.Drawing.Point(1186, 0);
- this.AccelerationChartY.Name = "AccelerationChartY";
+ this.GainChart.Legends.Add(legend4);
+ this.GainChart.Location = new System.Drawing.Point(-5, 645);
+ this.GainChart.Name = "GainChart";
+ series10.ChartArea = "ChartArea1";
+ series10.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
+ series10.Legend = "Legend1";
+ series10.Name = "Velocity Gain";
+ series11.ChartArea = "ChartArea1";
+ series11.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
+ series11.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
+ series11.Legend = "Legend1";
+ series11.Name = "Last Mouse Move";
+ series12.ChartArea = "ChartArea1";
+ series12.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
+ series12.Legend = "Legend1";
+ series12.Name = "Y: Velocity Gain";
series13.ChartArea = "ChartArea1";
- series13.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
+ series13.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
+ series13.IsVisibleInLegend = false;
series13.Legend = "Legend1";
- series13.Name = "Accelerated Sensitivity";
- series14.ChartArea = "ChartArea1";
- series14.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
- series14.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
- series14.Legend = "Legend1";
- series14.Name = "Last Mouse Move";
- series15.ChartArea = "ChartArea1";
- series15.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
- series15.IsVisibleInLegend = false;
- series15.Legend = "Legend1";
- series15.Name = "Placeholder";
- this.AccelerationChartY.Series.Add(series13);
- this.AccelerationChartY.Series.Add(series14);
- this.AccelerationChartY.Series.Add(series15);
- this.AccelerationChartY.Size = new System.Drawing.Size(698, 328);
- this.AccelerationChartY.TabIndex = 31;
- this.AccelerationChartY.TabStop = false;
- this.AccelerationChartY.Text = "chart1";
+ series13.Name = "Y: Last Mouse Move";
+ this.GainChart.Series.Add(series10);
+ this.GainChart.Series.Add(series11);
+ this.GainChart.Series.Add(series12);
+ this.GainChart.Series.Add(series13);
+ this.GainChart.Size = new System.Drawing.Size(698, 308);
+ this.GainChart.TabIndex = 36;
+ this.GainChart.TabStop = false;
+ this.GainChart.Text = "chart1";
title4.DockedToChartArea = "ChartArea1";
title4.IsDockedInsideChartArea = false;
title4.Name = "Title";
- title4.Text = "Sensitivity";
- this.AccelerationChartY.Titles.Add(title4);
+ title4.Text = "Gain";
+ this.GainChart.Titles.Add(title4);
//
- // VelocityChartY
+ // VelocityChart
//
chartArea5.AxisX.Title = "Input Speed (count/ms)";
chartArea5.AxisY.Title = "Output Speed (counts/ms)";
chartArea5.Name = "ChartArea1";
- this.VelocityChartY.ChartAreas.Add(chartArea5);
+ this.VelocityChart.ChartAreas.Add(chartArea5);
legend5.Name = "Legend1";
- this.VelocityChartY.Legends.Add(legend5);
- this.VelocityChartY.Location = new System.Drawing.Point(1186, 334);
- this.VelocityChartY.Name = "VelocityChartY";
+ this.VelocityChart.Legends.Add(legend5);
+ this.VelocityChart.Location = new System.Drawing.Point(-5, 332);
+ this.VelocityChart.Name = "VelocityChart";
+ series14.ChartArea = "ChartArea1";
+ series14.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
+ series14.Legend = "Legend1";
+ series14.Name = "Output Velocity";
+ series15.ChartArea = "ChartArea1";
+ series15.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
+ series15.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
+ series15.Legend = "Legend1";
+ series15.Name = "Last Mouse Move";
series16.ChartArea = "ChartArea1";
series16.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
series16.Legend = "Legend1";
- series16.Name = "Output Velocity";
+ series16.Name = "Y: Output Velocity";
series17.ChartArea = "ChartArea1";
series17.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
- series17.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
+ series17.IsVisibleInLegend = false;
series17.Legend = "Legend1";
- series17.Name = "Last Mouse Move";
- series18.ChartArea = "ChartArea1";
- series18.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
- series18.IsVisibleInLegend = false;
- series18.Legend = "Legend1";
- series18.Name = "Placeholder";
- this.VelocityChartY.Series.Add(series16);
- this.VelocityChartY.Series.Add(series17);
- this.VelocityChartY.Series.Add(series18);
- this.VelocityChartY.Size = new System.Drawing.Size(698, 307);
- this.VelocityChartY.TabIndex = 32;
- this.VelocityChartY.TabStop = false;
- this.VelocityChartY.Text = "chart1";
+ series17.Name = "Y: Last Mouse Move";
+ this.VelocityChart.Series.Add(series14);
+ this.VelocityChart.Series.Add(series15);
+ this.VelocityChart.Series.Add(series16);
+ this.VelocityChart.Series.Add(series17);
+ this.VelocityChart.Size = new System.Drawing.Size(698, 308);
+ this.VelocityChart.TabIndex = 35;
+ this.VelocityChart.TabStop = false;
+ this.VelocityChart.Text = "chart1";
title5.DockedToChartArea = "ChartArea1";
title5.IsDockedInsideChartArea = false;
title5.Name = "Title";
title5.Text = "Velocity";
- this.VelocityChartY.Titles.Add(title5);
+ this.VelocityChart.Titles.Add(title5);
//
- // GainChartY
+ // AccelerationChart
//
chartArea6.AxisX.Title = "Input Speed (counts/ms)";
- chartArea6.AxisY.Title = "Slope of Velocity Chart";
+ chartArea6.AxisY.Title = "Ratio of Output to Input";
chartArea6.Name = "ChartArea1";
- this.GainChartY.ChartAreas.Add(chartArea6);
+ this.AccelerationChart.ChartAreas.Add(chartArea6);
legend6.Name = "Legend1";
- this.GainChartY.Legends.Add(legend6);
- this.GainChartY.Location = new System.Drawing.Point(1186, 647);
- this.GainChartY.Name = "GainChartY";
+ this.AccelerationChart.Legends.Add(legend6);
+ this.AccelerationChart.Location = new System.Drawing.Point(-5, -2);
+ this.AccelerationChart.Name = "AccelerationChart";
+ series18.ChartArea = "ChartArea1";
+ series18.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
+ series18.Legend = "Legend1";
+ series18.Name = "Accelerated Sensitivity";
series19.ChartArea = "ChartArea1";
- series19.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
+ series19.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
+ series19.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
series19.Legend = "Legend1";
- series19.Name = "Velocity Gain";
+ series19.Name = "Last Mouse Move";
series20.ChartArea = "ChartArea1";
- series20.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
- series20.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
+ series20.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
series20.Legend = "Legend1";
- series20.Name = "Last Mouse Move";
+ series20.Name = "Y: Accelerated Sensitivity";
series21.ChartArea = "ChartArea1";
- series21.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
+ series21.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
series21.IsVisibleInLegend = false;
series21.Legend = "Legend1";
- series21.Name = "Placeholder";
- this.GainChartY.Series.Add(series19);
- this.GainChartY.Series.Add(series20);
- this.GainChartY.Series.Add(series21);
- this.GainChartY.Size = new System.Drawing.Size(698, 309);
- this.GainChartY.TabIndex = 33;
- this.GainChartY.TabStop = false;
- this.GainChartY.Text = "chart1";
+ series21.Name = "Y - Last Mouse Move";
+ this.AccelerationChart.Series.Add(series18);
+ this.AccelerationChart.Series.Add(series19);
+ this.AccelerationChart.Series.Add(series20);
+ this.AccelerationChart.Series.Add(series21);
+ this.AccelerationChart.Size = new System.Drawing.Size(698, 328);
+ this.AccelerationChart.TabIndex = 34;
+ this.AccelerationChart.TabStop = false;
+ this.AccelerationChart.Text = "Sensitivity";
title6.DockedToChartArea = "ChartArea1";
title6.IsDockedInsideChartArea = false;
title6.Name = "Title";
- title6.Text = "Gain";
- this.GainChartY.Titles.Add(title6);
- //
- // MouseLabel
- //
- this.MouseLabel.AutoSize = true;
- this.MouseLabel.Location = new System.Drawing.Point(1, 24);
- this.MouseLabel.Name = "MouseLabel";
- this.MouseLabel.Size = new System.Drawing.Size(80, 13);
- this.MouseLabel.TabIndex = 34;
- this.MouseLabel.Text = "Last (x, y): (x, y)";
- //
- // ActiveValueTitle
- //
- this.ActiveValueTitle.AutoSize = true;
- this.ActiveValueTitle.Location = new System.Drawing.Point(187, 30);
- this.ActiveValueTitle.Name = "ActiveValueTitle";
- this.ActiveValueTitle.Size = new System.Drawing.Size(41, 13);
- this.ActiveValueTitle.TabIndex = 35;
- this.ActiveValueTitle.Text = "Current";
- //
- // SensitivityActiveXLabel
- //
- this.SensitivityActiveXLabel.AutoSize = true;
- this.SensitivityActiveXLabel.Location = new System.Drawing.Point(187, 49);
- this.SensitivityActiveXLabel.Name = "SensitivityActiveXLabel";
- this.SensitivityActiveXLabel.Size = new System.Drawing.Size(14, 13);
- this.SensitivityActiveXLabel.TabIndex = 36;
- this.SensitivityActiveXLabel.Text = "X";
- //
- // SensitivityActiveYLabel
- //
- this.SensitivityActiveYLabel.AutoSize = true;
- this.SensitivityActiveYLabel.Location = new System.Drawing.Point(216, 49);
- this.SensitivityActiveYLabel.Name = "SensitivityActiveYLabel";
- this.SensitivityActiveYLabel.Size = new System.Drawing.Size(14, 13);
- this.SensitivityActiveYLabel.TabIndex = 37;
- this.SensitivityActiveYLabel.Text = "Y";
- //
- // RotationActiveLabel
- //
- this.RotationActiveLabel.AutoSize = true;
- this.RotationActiveLabel.Location = new System.Drawing.Point(196, 75);
- this.RotationActiveLabel.Name = "RotationActiveLabel";
- this.RotationActiveLabel.Size = new System.Drawing.Size(13, 13);
- this.RotationActiveLabel.TabIndex = 38;
- this.RotationActiveLabel.Text = "0";
- //
- // AccelTypeActiveLabelX
- //
- this.AccelTypeActiveLabelX.AutoSize = true;
- this.AccelTypeActiveLabelX.Location = new System.Drawing.Point(196, 113);
- this.AccelTypeActiveLabelX.Name = "AccelTypeActiveLabelX";
- this.AccelTypeActiveLabelX.Size = new System.Drawing.Size(66, 13);
- this.AccelTypeActiveLabelX.TabIndex = 39;
- this.AccelTypeActiveLabelX.Text = "SigmoidGain";
- //
- // AccelerationActiveLabelX
- //
- this.AccelerationActiveLabelX.AutoSize = true;
- this.AccelerationActiveLabelX.Location = new System.Drawing.Point(196, 140);
- this.AccelerationActiveLabelX.Name = "AccelerationActiveLabelX";
- this.AccelerationActiveLabelX.Size = new System.Drawing.Size(13, 13);
- this.AccelerationActiveLabelX.TabIndex = 40;
- this.AccelerationActiveLabelX.Text = "0";
- //
- // CapActiveXLabel
- //
- this.CapActiveXLabel.AutoSize = true;
- this.CapActiveXLabel.Location = new System.Drawing.Point(196, 166);
- this.CapActiveXLabel.Name = "CapActiveXLabel";
- this.CapActiveXLabel.Size = new System.Drawing.Size(13, 13);
- this.CapActiveXLabel.TabIndex = 41;
- this.CapActiveXLabel.Text = "0";
- //
- // WeightActiveXLabel
- //
- this.WeightActiveXLabel.AutoSize = true;
- this.WeightActiveXLabel.Location = new System.Drawing.Point(196, 192);
- this.WeightActiveXLabel.Name = "WeightActiveXLabel";
- this.WeightActiveXLabel.Size = new System.Drawing.Size(13, 13);
- this.WeightActiveXLabel.TabIndex = 42;
- this.WeightActiveXLabel.Text = "0";
- //
- // WeightActiveYLabel
- //
- this.WeightActiveYLabel.AutoSize = true;
- this.WeightActiveYLabel.Location = new System.Drawing.Point(413, 192);
- this.WeightActiveYLabel.Name = "WeightActiveYLabel";
- this.WeightActiveYLabel.Size = new System.Drawing.Size(13, 13);
- this.WeightActiveYLabel.TabIndex = 43;
- this.WeightActiveYLabel.Text = "0";
- //
- // CapActiveYLabel
- //
- this.CapActiveYLabel.AutoSize = true;
- this.CapActiveYLabel.Location = new System.Drawing.Point(413, 166);
- this.CapActiveYLabel.Name = "CapActiveYLabel";
- this.CapActiveYLabel.Size = new System.Drawing.Size(13, 13);
- this.CapActiveYLabel.TabIndex = 44;
- this.CapActiveYLabel.Text = "0";
- //
- // OffsetActiveXLabel
- //
- this.OffsetActiveXLabel.AutoSize = true;
- this.OffsetActiveXLabel.Location = new System.Drawing.Point(196, 218);
- this.OffsetActiveXLabel.Name = "OffsetActiveXLabel";
- this.OffsetActiveXLabel.Size = new System.Drawing.Size(13, 13);
- this.OffsetActiveXLabel.TabIndex = 45;
- this.OffsetActiveXLabel.Text = "0";
- //
- // LimitActiveXLabel
- //
- this.LimitActiveXLabel.AutoSize = true;
- this.LimitActiveXLabel.Location = new System.Drawing.Point(196, 244);
- this.LimitActiveXLabel.Name = "LimitActiveXLabel";
- this.LimitActiveXLabel.Size = new System.Drawing.Size(13, 13);
- this.LimitActiveXLabel.TabIndex = 46;
- this.LimitActiveXLabel.Text = "0";
- //
- // MidpointActiveXLabel
- //
- this.MidpointActiveXLabel.AutoSize = true;
- this.MidpointActiveXLabel.Location = new System.Drawing.Point(196, 300);
- this.MidpointActiveXLabel.Name = "MidpointActiveXLabel";
- this.MidpointActiveXLabel.Size = new System.Drawing.Size(13, 13);
- this.MidpointActiveXLabel.TabIndex = 47;
- this.MidpointActiveXLabel.Text = "0";
- //
- // accelerationBoxY
- //
- this.accelerationBoxY.Location = new System.Drawing.Point(331, 137);
- this.accelerationBoxY.Name = "accelerationBoxY";
- this.accelerationBoxY.Size = new System.Drawing.Size(76, 20);
- this.accelerationBoxY.TabIndex = 15;
- //
- // offsetBoxY
- //
- this.offsetBoxY.Location = new System.Drawing.Point(331, 215);
- this.offsetBoxY.Name = "offsetBoxY";
- this.offsetBoxY.Size = new System.Drawing.Size(76, 20);
- this.offsetBoxY.TabIndex = 19;
- //
- // limitBoxY
- //
- this.limitBoxY.Location = new System.Drawing.Point(331, 241);
- this.limitBoxY.Name = "limitBoxY";
- this.limitBoxY.Size = new System.Drawing.Size(76, 20);
- this.limitBoxY.TabIndex = 20;
- //
- // midpointBoxY
- //
- this.midpointBoxY.Location = new System.Drawing.Point(331, 297);
- this.midpointBoxY.Name = "midpointBoxY";
- this.midpointBoxY.Size = new System.Drawing.Size(76, 20);
- this.midpointBoxY.TabIndex = 22;
- //
- // accelTypeDropY
- //
- this.accelTypeDropY.FormattingEnabled = true;
- this.accelTypeDropY.Location = new System.Drawing.Point(331, 110);
- this.accelTypeDropY.Name = "accelTypeDropY";
- this.accelTypeDropY.Size = new System.Drawing.Size(76, 21);
- this.accelTypeDropY.TabIndex = 14;
- this.accelTypeDropY.Text = "Accel Type";
- //
- // AccelerationActiveLabelY
- //
- this.AccelerationActiveLabelY.AutoSize = true;
- this.AccelerationActiveLabelY.Location = new System.Drawing.Point(413, 140);
- this.AccelerationActiveLabelY.Name = "AccelerationActiveLabelY";
- this.AccelerationActiveLabelY.Size = new System.Drawing.Size(13, 13);
- this.AccelerationActiveLabelY.TabIndex = 53;
- this.AccelerationActiveLabelY.Text = "0";
- //
- // OffsetActiveYLabel
- //
- this.OffsetActiveYLabel.AutoSize = true;
- this.OffsetActiveYLabel.Location = new System.Drawing.Point(413, 218);
- this.OffsetActiveYLabel.Name = "OffsetActiveYLabel";
- this.OffsetActiveYLabel.Size = new System.Drawing.Size(13, 13);
- this.OffsetActiveYLabel.TabIndex = 54;
- this.OffsetActiveYLabel.Text = "0";
- //
- // LimitActiveYLabel
- //
- this.LimitActiveYLabel.AutoSize = true;
- this.LimitActiveYLabel.Location = new System.Drawing.Point(413, 244);
- this.LimitActiveYLabel.Name = "LimitActiveYLabel";
- this.LimitActiveYLabel.Size = new System.Drawing.Size(13, 13);
- this.LimitActiveYLabel.TabIndex = 55;
- this.LimitActiveYLabel.Text = "0";
- //
- // MidpointActiveYLabel
- //
- this.MidpointActiveYLabel.AutoSize = true;
- this.MidpointActiveYLabel.Location = new System.Drawing.Point(413, 300);
- this.MidpointActiveYLabel.Name = "MidpointActiveYLabel";
- this.MidpointActiveYLabel.Size = new System.Drawing.Size(13, 13);
- this.MidpointActiveYLabel.TabIndex = 56;
- this.MidpointActiveYLabel.Text = "0";
- //
- // ByComponentXYLock
- //
- this.ByComponentXYLock.AutoSize = true;
- this.ByComponentXYLock.Checked = true;
- this.ByComponentXYLock.CheckState = System.Windows.Forms.CheckState.Checked;
- this.ByComponentXYLock.Location = new System.Drawing.Point(282, 93);
- this.ByComponentXYLock.Name = "ByComponentXYLock";
- this.ByComponentXYLock.Size = new System.Drawing.Size(15, 14);
- this.ByComponentXYLock.TabIndex = 13;
- this.ByComponentXYLock.UseVisualStyleBackColor = true;
- //
- // constantOneLabelY
- //
- this.constantOneLabelY.AutoSize = true;
- this.constantOneLabelY.Location = new System.Drawing.Point(258, 140);
- this.constantOneLabelY.Name = "constantOneLabelY";
- this.constantOneLabelY.Size = new System.Drawing.Size(66, 13);
- this.constantOneLabelY.TabIndex = 58;
- this.constantOneLabelY.Text = "Acceleration";
- //
- // capLabelY
- //
- this.capLabelY.AutoSize = true;
- this.capLabelY.Location = new System.Drawing.Point(279, 166);
- this.capLabelY.Name = "capLabelY";
- this.capLabelY.Size = new System.Drawing.Size(26, 13);
- this.capLabelY.TabIndex = 59;
- this.capLabelY.Text = "Cap";
- //
- // weightLabelY
- //
- this.weightLabelY.AutoSize = true;
- this.weightLabelY.Location = new System.Drawing.Point(264, 192);
- this.weightLabelY.Name = "weightLabelY";
- this.weightLabelY.Size = new System.Drawing.Size(41, 13);
- this.weightLabelY.TabIndex = 60;
- this.weightLabelY.Text = "Weight";
- //
- // offsetLabelY
- //
- this.offsetLabelY.AutoSize = true;
- this.offsetLabelY.Location = new System.Drawing.Point(270, 218);
- this.offsetLabelY.Name = "offsetLabelY";
- this.offsetLabelY.Size = new System.Drawing.Size(35, 13);
- this.offsetLabelY.TabIndex = 61;
- this.offsetLabelY.Text = "Offset";
- //
- // limitLabelY
- //
- this.limitLabelY.AutoSize = true;
- this.limitLabelY.Location = new System.Drawing.Point(264, 244);
- this.limitLabelY.Name = "limitLabelY";
- this.limitLabelY.Size = new System.Drawing.Size(28, 13);
- this.limitLabelY.TabIndex = 62;
- this.limitLabelY.Text = "Limit";
- //
- // constantThreeLabelY
- //
- this.constantThreeLabelY.AutoSize = true;
- this.constantThreeLabelY.Location = new System.Drawing.Point(264, 300);
- this.constantThreeLabelY.Name = "constantThreeLabelY";
- this.constantThreeLabelY.Size = new System.Drawing.Size(47, 13);
- this.constantThreeLabelY.TabIndex = 63;
- this.constantThreeLabelY.Text = "Midpoint";
- //
- // OptionSetXTitle
- //
- this.OptionSetXTitle.AutoSize = true;
- this.OptionSetXTitle.Location = new System.Drawing.Point(142, 94);
- this.OptionSetXTitle.Name = "OptionSetXTitle";
- this.OptionSetXTitle.Size = new System.Drawing.Size(14, 13);
- this.OptionSetXTitle.TabIndex = 64;
- this.OptionSetXTitle.Text = "X";
- //
- // OptionSetYTitle
- //
- this.OptionSetYTitle.AutoSize = true;
- this.OptionSetYTitle.Location = new System.Drawing.Point(359, 94);
- this.OptionSetYTitle.Name = "OptionSetYTitle";
- this.OptionSetYTitle.Size = new System.Drawing.Size(14, 13);
- this.OptionSetYTitle.TabIndex = 65;
- this.OptionSetYTitle.Text = "Y";
- //
- // AccelTypeActiveLabelY
- //
- this.AccelTypeActiveLabelY.AutoSize = true;
- this.AccelTypeActiveLabelY.Location = new System.Drawing.Point(413, 113);
- this.AccelTypeActiveLabelY.Name = "AccelTypeActiveLabelY";
- this.AccelTypeActiveLabelY.Size = new System.Drawing.Size(66, 13);
- this.AccelTypeActiveLabelY.TabIndex = 66;
- this.AccelTypeActiveLabelY.Text = "SigmoidGain";
- //
- // ActiveValueTitleY
- //
- this.ActiveValueTitleY.AutoSize = true;
- this.ActiveValueTitleY.Location = new System.Drawing.Point(428, 30);
- this.ActiveValueTitleY.Name = "ActiveValueTitleY";
- this.ActiveValueTitleY.Size = new System.Drawing.Size(41, 13);
- this.ActiveValueTitleY.TabIndex = 67;
- this.ActiveValueTitleY.Text = "Current";
- //
- // expLabelY
- //
- this.expLabelY.AutoSize = true;
- this.expLabelY.Location = new System.Drawing.Point(264, 273);
- this.expLabelY.Name = "expLabelY";
- this.expLabelY.Size = new System.Drawing.Size(52, 13);
- this.expLabelY.TabIndex = 73;
- this.expLabelY.Text = "Exponent";
- //
- // ExpActiveYLabel
- //
- this.ExpActiveYLabel.AutoSize = true;
- this.ExpActiveYLabel.Location = new System.Drawing.Point(413, 273);
- this.ExpActiveYLabel.Name = "ExpActiveYLabel";
- this.ExpActiveYLabel.Size = new System.Drawing.Size(13, 13);
- this.ExpActiveYLabel.TabIndex = 72;
- this.ExpActiveYLabel.Text = "0";
- //
- // expBoxY
- //
- this.expBoxY.Location = new System.Drawing.Point(331, 270);
- this.expBoxY.Name = "expBoxY";
- this.expBoxY.Size = new System.Drawing.Size(76, 20);
- this.expBoxY.TabIndex = 21;
- //
- // ExpActiveXLabel
- //
- this.ExpActiveXLabel.AutoSize = true;
- this.ExpActiveXLabel.Location = new System.Drawing.Point(196, 273);
- this.ExpActiveXLabel.Name = "ExpActiveXLabel";
- this.ExpActiveXLabel.Size = new System.Drawing.Size(13, 13);
- this.ExpActiveXLabel.TabIndex = 70;
- this.ExpActiveXLabel.Text = "0";
- //
- // expLabelX
- //
- this.expLabelX.AutoSize = true;
- this.expLabelX.Location = new System.Drawing.Point(24, 273);
- this.expLabelX.Name = "expLabelX";
- this.expLabelX.Size = new System.Drawing.Size(52, 13);
- this.expLabelX.TabIndex = 69;
- this.expLabelX.Text = "Exponent";
- this.expLabelX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // expBoxX
- //
- this.expBoxX.Location = new System.Drawing.Point(105, 270);
- this.expBoxX.Name = "expBoxX";
- this.expBoxX.Size = new System.Drawing.Size(76, 20);
- this.expBoxX.TabIndex = 11;
- //
- // scaleLabelY
- //
- this.scaleLabelY.AutoSize = true;
- this.scaleLabelY.Location = new System.Drawing.Point(264, 330);
- this.scaleLabelY.Name = "scaleLabelY";
- this.scaleLabelY.Size = new System.Drawing.Size(34, 13);
- this.scaleLabelY.TabIndex = 79;
- this.scaleLabelY.Text = "Scale";
- //
- // ScaleActiveYLabel
- //
- this.ScaleActiveYLabel.AutoSize = true;
- this.ScaleActiveYLabel.Location = new System.Drawing.Point(413, 330);
- this.ScaleActiveYLabel.Name = "ScaleActiveYLabel";
- this.ScaleActiveYLabel.Size = new System.Drawing.Size(13, 13);
- this.ScaleActiveYLabel.TabIndex = 78;
- this.ScaleActiveYLabel.Text = "0";
- //
- // scaleBoxY
- //
- this.scaleBoxY.Location = new System.Drawing.Point(331, 327);
- this.scaleBoxY.Name = "scaleBoxY";
- this.scaleBoxY.Size = new System.Drawing.Size(76, 20);
- this.scaleBoxY.TabIndex = 16;
- //
- // ScaleActiveXLabel
- //
- this.ScaleActiveXLabel.AutoSize = true;
- this.ScaleActiveXLabel.Location = new System.Drawing.Point(196, 330);
- this.ScaleActiveXLabel.Name = "ScaleActiveXLabel";
- this.ScaleActiveXLabel.Size = new System.Drawing.Size(13, 13);
- this.ScaleActiveXLabel.TabIndex = 76;
- this.ScaleActiveXLabel.Text = "0";
- //
- // scaleLabelX
- //
- this.scaleLabelX.AutoSize = true;
- this.scaleLabelX.Location = new System.Drawing.Point(34, 330);
- this.scaleLabelX.Name = "scaleLabelX";
- this.scaleLabelX.Size = new System.Drawing.Size(34, 13);
- this.scaleLabelX.TabIndex = 75;
- this.scaleLabelX.Text = "Scale";
- this.scaleLabelX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // scaleBoxX
- //
- this.scaleBoxX.Location = new System.Drawing.Point(105, 327);
- this.scaleBoxX.Name = "scaleBoxX";
- this.scaleBoxX.Size = new System.Drawing.Size(76, 20);
- this.scaleBoxX.TabIndex = 6;
- //
- // toggleButton
- //
- this.toggleButton.Location = new System.Drawing.Point(223, 384);
- this.toggleButton.Name = "toggleButton";
- this.toggleButton.Size = new System.Drawing.Size(104, 24);
- this.toggleButton.TabIndex = 24;
- this.toggleButton.Text = "toggle";
- this.toggleButton.UseVisualStyleBackColor = true;
+ title6.Text = "Sensitivity";
+ this.AccelerationChart.Titles.Add(title6);
//
// RawAcceleration
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1884, 956);
- this.Controls.Add(this.toggleButton);
- this.Controls.Add(this.scaleLabelY);
- this.Controls.Add(this.ScaleActiveYLabel);
- this.Controls.Add(this.scaleBoxY);
- this.Controls.Add(this.ScaleActiveXLabel);
- this.Controls.Add(this.scaleLabelX);
- this.Controls.Add(this.scaleBoxX);
- this.Controls.Add(this.expLabelY);
- this.Controls.Add(this.ExpActiveYLabel);
- this.Controls.Add(this.expBoxY);
- this.Controls.Add(this.ExpActiveXLabel);
- this.Controls.Add(this.expLabelX);
- this.Controls.Add(this.expBoxX);
- this.Controls.Add(this.ActiveValueTitleY);
- this.Controls.Add(this.AccelTypeActiveLabelY);
- this.Controls.Add(this.OptionSetYTitle);
- this.Controls.Add(this.OptionSetXTitle);
- this.Controls.Add(this.constantThreeLabelY);
- this.Controls.Add(this.limitLabelY);
- this.Controls.Add(this.offsetLabelY);
- this.Controls.Add(this.weightLabelY);
- this.Controls.Add(this.capLabelY);
- this.Controls.Add(this.constantOneLabelY);
- this.Controls.Add(this.ByComponentXYLock);
- this.Controls.Add(this.MidpointActiveYLabel);
- this.Controls.Add(this.LimitActiveYLabel);
- this.Controls.Add(this.OffsetActiveYLabel);
- this.Controls.Add(this.AccelerationActiveLabelY);
- this.Controls.Add(this.accelTypeDropY);
- this.Controls.Add(this.midpointBoxY);
- this.Controls.Add(this.limitBoxY);
- this.Controls.Add(this.offsetBoxY);
- this.Controls.Add(this.accelerationBoxY);
- this.Controls.Add(this.MidpointActiveXLabel);
- this.Controls.Add(this.LimitActiveXLabel);
- this.Controls.Add(this.OffsetActiveXLabel);
- this.Controls.Add(this.CapActiveYLabel);
- this.Controls.Add(this.WeightActiveYLabel);
- this.Controls.Add(this.WeightActiveXLabel);
- this.Controls.Add(this.CapActiveXLabel);
- this.Controls.Add(this.AccelerationActiveLabelX);
- this.Controls.Add(this.AccelTypeActiveLabelX);
- this.Controls.Add(this.RotationActiveLabel);
- this.Controls.Add(this.SensitivityActiveYLabel);
- this.Controls.Add(this.SensitivityActiveXLabel);
- this.Controls.Add(this.ActiveValueTitle);
- this.Controls.Add(this.MouseLabel);
- this.Controls.Add(this.GainChartY);
- this.Controls.Add(this.VelocityChartY);
- this.Controls.Add(this.AccelerationChartY);
- this.Controls.Add(this.GainChart);
- this.Controls.Add(this.VelocityChart);
- this.Controls.Add(this.LockXYLabel);
- this.Controls.Add(this.sensXYLock);
- this.Controls.Add(this.capBoxY);
- this.Controls.Add(this.sensitivityBoxY);
- this.Controls.Add(this.writeButton);
- this.Controls.Add(this.offsetLabelX);
- this.Controls.Add(this.offsetBoxX);
- this.Controls.Add(this.constantThreeLabelX);
- this.Controls.Add(this.midpointBoxX);
- this.Controls.Add(this.limitLabelX);
- this.Controls.Add(this.limitBoxX);
- this.Controls.Add(this.weightBoxY);
- this.Controls.Add(this.weightLabelX);
- this.Controls.Add(this.weightBoxX);
- this.Controls.Add(this.capLabelX);
- this.Controls.Add(this.capBoxX);
- this.Controls.Add(this.constantOneLabelX);
- this.Controls.Add(this.accelerationBoxX);
- this.Controls.Add(this.rotationLabel);
- this.Controls.Add(this.rotationBox);
- this.Controls.Add(this.sensitivityLabel);
- this.Controls.Add(this.sensitivityBoxX);
- this.Controls.Add(this.accelTypeDropX);
- this.Controls.Add(this.AccelerationChart);
- this.Controls.Add(this.menuStrip1);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "RawAcceleration";
this.Text = "Raw Accel";
this.Load += new System.EventHandler(this.Form1_Load);
this.Paint += new System.Windows.Forms.PaintEventHandler(this.RawAcceleration_Paint);
- ((System.ComponentModel.ISupportInitialize)(this.AccelerationChart)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.VelocityChart)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.GainChart)).EndInit();
+ this.panel1.ResumeLayout(false);
+ this.panel1.PerformLayout();
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.AccelerationChartY)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.VelocityChartY)).EndInit();
+ this.panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.GainChartY)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.VelocityChartY)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.AccelerationChartY)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.GainChart)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.VelocityChart)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.AccelerationChart)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
-
- private System.Windows.Forms.DataVisualization.Charting.Chart AccelerationChart;
- private System.Windows.Forms.ComboBox accelTypeDropX;
- private System.Windows.Forms.TextBox sensitivityBoxX;
- private System.Windows.Forms.Label sensitivityLabel;
- private System.Windows.Forms.TextBox rotationBox;
- private System.Windows.Forms.Label rotationLabel;
- private System.Windows.Forms.TextBox accelerationBoxX;
- private System.Windows.Forms.Label constantOneLabelX;
- private System.Windows.Forms.TextBox capBoxX;
- private System.Windows.Forms.Label capLabelX;
- private System.Windows.Forms.TextBox weightBoxX;
- private System.Windows.Forms.Label weightLabelX;
- private System.Windows.Forms.TextBox weightBoxY;
- private System.Windows.Forms.TextBox limitBoxX;
- private System.Windows.Forms.Label limitLabelX;
- private System.Windows.Forms.TextBox midpointBoxX;
- private System.Windows.Forms.Label constantThreeLabelX;
- private System.Windows.Forms.TextBox offsetBoxX;
- private System.Windows.Forms.Label offsetLabelX;
- private System.Windows.Forms.TextBox sensitivityBoxY;
- private System.Windows.Forms.TextBox capBoxY;
- private System.Windows.Forms.CheckBox sensXYLock;
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.CheckBox toggleButton;
+ private System.Windows.Forms.Label scaleLabelY;
+ private System.Windows.Forms.Label ScaleActiveYLabel;
+ private System.Windows.Forms.TextBox scaleBoxY;
+ private System.Windows.Forms.Label ScaleActiveXLabel;
+ private System.Windows.Forms.Label scaleLabelX;
+ private System.Windows.Forms.TextBox scaleBoxX;
+ private System.Windows.Forms.Label expLabelY;
+ private System.Windows.Forms.Label ExpActiveYLabel;
+ private System.Windows.Forms.TextBox expBoxY;
+ private System.Windows.Forms.Label ExpActiveXLabel;
+ private System.Windows.Forms.Label expLabelX;
+ private System.Windows.Forms.TextBox expBoxX;
+ private System.Windows.Forms.Label ActiveValueTitleY;
+ private System.Windows.Forms.Label AccelTypeActiveLabelY;
+ private System.Windows.Forms.Label OptionSetYTitle;
+ private System.Windows.Forms.Label OptionSetXTitle;
+ private System.Windows.Forms.Label constantThreeLabelY;
+ private System.Windows.Forms.Label limitLabelY;
+ private System.Windows.Forms.Label offsetLabelY;
+ private System.Windows.Forms.Label weightLabelY;
+ private System.Windows.Forms.Label capLabelY;
+ private System.Windows.Forms.Label constantOneLabelY;
+ private System.Windows.Forms.CheckBox ByComponentXYLock;
+ private System.Windows.Forms.Label MidpointActiveYLabel;
+ private System.Windows.Forms.Label LimitActiveYLabel;
+ private System.Windows.Forms.Label OffsetActiveYLabel;
+ private System.Windows.Forms.Label AccelerationActiveLabelY;
+ private System.Windows.Forms.ComboBox accelTypeDropY;
+ private System.Windows.Forms.TextBox midpointBoxY;
+ private System.Windows.Forms.TextBox limitBoxY;
+ private System.Windows.Forms.TextBox offsetBoxY;
+ private System.Windows.Forms.TextBox accelerationBoxY;
+ private System.Windows.Forms.Label MidpointActiveXLabel;
+ private System.Windows.Forms.Label LimitActiveXLabel;
+ private System.Windows.Forms.Label OffsetActiveXLabel;
+ private System.Windows.Forms.Label CapActiveYLabel;
+ private System.Windows.Forms.Label WeightActiveYLabel;
+ private System.Windows.Forms.Label WeightActiveXLabel;
+ private System.Windows.Forms.Label CapActiveXLabel;
+ private System.Windows.Forms.Label AccelerationActiveLabelX;
+ private System.Windows.Forms.Label AccelTypeActiveLabelX;
+ private System.Windows.Forms.Label RotationActiveLabel;
+ private System.Windows.Forms.Label SensitivityActiveYLabel;
+ private System.Windows.Forms.Label SensitivityActiveXLabel;
+ private System.Windows.Forms.Label ActiveValueTitle;
+ private System.Windows.Forms.Label MouseLabel;
private System.Windows.Forms.Label LockXYLabel;
- private System.Windows.Forms.DataVisualization.Charting.Chart VelocityChart;
- private System.Windows.Forms.DataVisualization.Charting.Chart GainChart;
+ private System.Windows.Forms.CheckBox sensXYLock;
+ private System.Windows.Forms.TextBox capBoxY;
+ private System.Windows.Forms.TextBox sensitivityBoxY;
+ private System.Windows.Forms.Button writeButton;
+ private System.Windows.Forms.Label offsetLabelX;
+ private System.Windows.Forms.TextBox offsetBoxX;
+ private System.Windows.Forms.Label constantThreeLabelX;
+ private System.Windows.Forms.TextBox midpointBoxX;
+ private System.Windows.Forms.Label limitLabelX;
+ private System.Windows.Forms.TextBox limitBoxX;
+ private System.Windows.Forms.TextBox weightBoxY;
+ private System.Windows.Forms.Label weightLabelX;
+ private System.Windows.Forms.TextBox weightBoxX;
+ private System.Windows.Forms.Label capLabelX;
+ private System.Windows.Forms.TextBox capBoxX;
+ private System.Windows.Forms.Label constantOneLabelX;
+ private System.Windows.Forms.TextBox accelerationBoxX;
+ private System.Windows.Forms.Label rotationLabel;
+ private System.Windows.Forms.TextBox rotationBox;
+ private System.Windows.Forms.Label sensitivityLabel;
+ private System.Windows.Forms.TextBox sensitivityBoxX;
+ private System.Windows.Forms.ComboBox accelTypeDropX;
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem graphsToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem showVelocityGainToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem advancedToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem capStyleToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem gainCapToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem legacyCapToolStripMenuItem;
- private System.Windows.Forms.DataVisualization.Charting.Chart AccelerationChartY;
- private System.Windows.Forms.DataVisualization.Charting.Chart VelocityChartY;
- private System.Windows.Forms.DataVisualization.Charting.Chart GainChartY;
- private System.Windows.Forms.Label MouseLabel;
private System.Windows.Forms.ToolStripMenuItem scaleByDPIToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem dPIToolStripMenuItem;
private System.Windows.Forms.ToolStripTextBox DPITextBox;
private System.Windows.Forms.ToolStripMenuItem pollRateToolStripMenuItem;
private System.Windows.Forms.ToolStripTextBox PollRateTextBox;
private System.Windows.Forms.ToolStripMenuItem ScaleMenuItem;
- private System.Windows.Forms.Label ActiveValueTitle;
- private System.Windows.Forms.Label SensitivityActiveXLabel;
- private System.Windows.Forms.Label SensitivityActiveYLabel;
- private System.Windows.Forms.Label RotationActiveLabel;
- private System.Windows.Forms.Label AccelTypeActiveLabelX;
- private System.Windows.Forms.Label AccelerationActiveLabelX;
- private System.Windows.Forms.Label CapActiveXLabel;
- private System.Windows.Forms.Label WeightActiveXLabel;
- private System.Windows.Forms.Label WeightActiveYLabel;
- private System.Windows.Forms.Label CapActiveYLabel;
- private System.Windows.Forms.Label OffsetActiveXLabel;
- private System.Windows.Forms.Label LimitActiveXLabel;
- private System.Windows.Forms.Label MidpointActiveXLabel;
- private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1;
- private System.Windows.Forms.ToolStripMenuItem wholeVectorToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem byVectorComponentToolStripMenuItem;
- private System.Windows.Forms.TextBox accelerationBoxY;
- private System.Windows.Forms.TextBox offsetBoxY;
- private System.Windows.Forms.TextBox limitBoxY;
- private System.Windows.Forms.TextBox midpointBoxY;
- private System.Windows.Forms.ComboBox accelTypeDropY;
- private System.Windows.Forms.Label AccelerationActiveLabelY;
- private System.Windows.Forms.Label OffsetActiveYLabel;
- private System.Windows.Forms.Label LimitActiveYLabel;
- private System.Windows.Forms.Label MidpointActiveYLabel;
- private System.Windows.Forms.CheckBox ByComponentXYLock;
- private System.Windows.Forms.Label constantOneLabelY;
- private System.Windows.Forms.Label capLabelY;
- private System.Windows.Forms.Label weightLabelY;
- private System.Windows.Forms.Label offsetLabelY;
- private System.Windows.Forms.Label limitLabelY;
- private System.Windows.Forms.Label constantThreeLabelY;
- private System.Windows.Forms.Label OptionSetXTitle;
- private System.Windows.Forms.Label OptionSetYTitle;
- private System.Windows.Forms.Label AccelTypeActiveLabelY;
+ private System.Windows.Forms.ToolStripMenuItem showVelocityGainToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem showLastMouseMoveToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem advancedToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem capStyleToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem gainCapToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem legacyCapToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem offsetStyleToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem gainOffsetToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem legacyOffsetToolStripMenuItem;
- private System.Windows.Forms.Label ActiveValueTitleY;
- private System.Windows.Forms.ToolStripMenuItem showLastMouseMoveToolStripMenuItem;
- private System.Windows.Forms.Label expLabelY;
- private System.Windows.Forms.Label ExpActiveYLabel;
- private System.Windows.Forms.TextBox expBoxY;
- private System.Windows.Forms.Label ExpActiveXLabel;
- private System.Windows.Forms.Label expLabelX;
- private System.Windows.Forms.TextBox expBoxX;
- private System.Windows.Forms.Label scaleLabelY;
- private System.Windows.Forms.Label ScaleActiveYLabel;
- private System.Windows.Forms.TextBox scaleBoxY;
- private System.Windows.Forms.Label ScaleActiveXLabel;
- private System.Windows.Forms.Label scaleLabelX;
- private System.Windows.Forms.TextBox scaleBoxX;
- private System.Windows.Forms.CheckBox toggleButton;
- private System.Windows.Forms.Button writeButton;
+ private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1;
+ private System.Windows.Forms.ToolStripMenuItem wholeVectorToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem byVectorComponentToolStripMenuItem;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.DataVisualization.Charting.Chart GainChartY;
+ private System.Windows.Forms.DataVisualization.Charting.Chart VelocityChartY;
+ private System.Windows.Forms.DataVisualization.Charting.Chart AccelerationChartY;
+ private System.Windows.Forms.DataVisualization.Charting.Chart GainChart;
+ private System.Windows.Forms.DataVisualization.Charting.Chart VelocityChart;
+ private System.Windows.Forms.DataVisualization.Charting.Chart AccelerationChart;
}
}
diff --git a/grapher/Form1.cs b/grapher/Form1.cs
index 91cc4e2..a0d2fae 100644
--- a/grapher/Form1.cs
+++ b/grapher/Form1.cs
@@ -155,11 +155,35 @@ namespace grapher
}
+ public void ResetAutoScroll()
+ {
+ panel2.AutoScrollPosition = Constants.Origin;
+ }
+
+ public void DoResize()
+ {
+ ResetAutoScroll();
+
+ var wa = Screen.PrimaryScreen.WorkingArea;
+ var pref2 = panel2.GetPreferredSize(Constants.MaxSize);
+
+ Size = new Size
+ {
+ Width = Math.Min(wa.Width - Location.X, panel1.Size.Width + pref2.Width),
+ Height = Math.Min(wa.Height - Location.Y, pref2.Height + 48)
+ };
+ }
+
private void RawAcceleration_Paint(object sender, PaintEventArgs e)
{
//AccelGUI.AccelCharts.DrawLastMovement();
}
#endregion Method
+
+ private void panel1_Paint(object sender, PaintEventArgs e)
+ {
+
+ }
}
}
diff --git a/grapher/Models/AccelGUI.cs b/grapher/Models/AccelGUI.cs
index c561b23..50207b2 100644
--- a/grapher/Models/AccelGUI.cs
+++ b/grapher/Models/AccelGUI.cs
@@ -35,6 +35,7 @@ namespace grapher
Settings = settings;
Settings.Startup();
RefreshOnRead(Settings.RawAccelSettings.AccelerationSettings);
+ AccelForm.DoResize();
DefaultButtonFont = WriteButton.Font;
SmallButtonFont = new Font(WriteButton.Font.Name, WriteButton.Font.Size * 0.666f);
@@ -151,6 +152,7 @@ namespace grapher
public void UpdateShownActiveValues(DriverSettings args)
{
+ AccelForm.ResetAutoScroll();
AccelCharts.ShowActive(args);
ApplyOptions.SetActiveValues(args);
}
diff --git a/grapher/Models/Charts/AccelCharts.cs b/grapher/Models/Charts/AccelCharts.cs
index 9087b30..6247811 100644
--- a/grapher/Models/Charts/AccelCharts.cs
+++ b/grapher/Models/Charts/AccelCharts.cs
@@ -13,7 +13,7 @@ namespace grapher
#region Constructors
public AccelCharts(
- Form form,
+ RawAcceleration form,
ChartXY sensitivityChart,
ChartXY velocityChart,
ChartXY gainChart,
@@ -34,10 +34,6 @@ namespace grapher
EnableLastValue = enableLastMouseMove;
WriteButton = writeButton;
-
- Rectangle screenRectangle = ContainingForm.RectangleToScreen(ContainingForm.ClientRectangle);
- FormBorderHeight = screenRectangle.Top - ContainingForm.Top;
-
EnableVelocityAndGain.Click += new System.EventHandler(OnEnableClick);
EnableVelocityAndGain.CheckedChanged += new System.EventHandler(OnEnableVelocityGainCheckStateChange);
@@ -52,7 +48,7 @@ namespace grapher
#region Properties
- public Form ContainingForm { get; }
+ public RawAcceleration ContainingForm { get; }
public ToolStripMenuItem EnableVelocityAndGain { get; }
@@ -125,23 +121,9 @@ namespace grapher
{
ChartState = ChartStateManager.DetermineState(driverSettings);
ChartState.Activate();
- UpdateFormWidth();
Bind();
}
- public void SetWidened()
- {
- ChartState.SetWidened();
- UpdateFormWidth();
- //AlignWriteButton();
- }
-
- public void SetNarrowed()
- {
- ChartState.SetNarrowed();
- UpdateFormWidth();
- //AlignWriteButton();
- }
public void Redraw()
{
@@ -176,8 +158,6 @@ namespace grapher
velocityChart.SetTop(sensitivityChart.Height + Constants.ChartSeparationVertical);
gainChart.SetHeight(sensitivityChart.Height);
gainChart.SetTop(velocityChart.Top + velocityChart.Height + Constants.ChartSeparationVertical);
-
- sensitivityChart.Show();
}
private void OnEnableClick(object sender, EventArgs e)
@@ -187,6 +167,7 @@ namespace grapher
private void OnEnableVelocityGainCheckStateChange(object sender, EventArgs e)
{
+ ContainingForm.ResetAutoScroll();
if (EnableVelocityAndGain.Checked)
{
ShowVelocityAndGain();
@@ -207,17 +188,12 @@ namespace grapher
private void ShowVelocityAndGain()
{
- ChartState.ShowVelocityAndGain(ContainingForm, FormBorderHeight);
+ ChartState.ShowVelocityAndGain();
}
private void HideVelocityAndGain()
{
- ChartState.HideVelocityAndGain(ContainingForm, FormBorderHeight);
- }
-
- private void UpdateFormWidth()
- {
- ContainingForm.Width = ChartState.SensitivityChart.Left + ChartState.SensitivityChart.Width;
+ ChartState.HideVelocityAndGain();
}
private void AlignWriteButton()
diff --git a/grapher/Models/Charts/ChartState/ChartState.cs b/grapher/Models/Charts/ChartState/ChartState.cs
index 1898e12..270e212 100644
--- a/grapher/Models/Charts/ChartState/ChartState.cs
+++ b/grapher/Models/Charts/ChartState/ChartState.cs
@@ -68,20 +68,6 @@ namespace grapher.Models.Charts.ChartState
GainChart.DrawLastMovementValue(TwoDotsPerGraph);
}
- public void SetWidened()
- {
- SensitivityChart.SetWidened();
- VelocityChart.SetWidened();
- GainChart.SetWidened();
- }
-
- public void SetNarrowed()
- {
- SensitivityChart.SetNarrowed();
- VelocityChart.SetNarrowed();
- GainChart.SetNarrowed();
- }
-
public void ClearLastValue()
{
SensitivityChart.ClearLastValue();
@@ -89,23 +75,16 @@ namespace grapher.Models.Charts.ChartState
GainChart.ClearLastValue();
}
- public void ShowVelocityAndGain(Form form, int borderHeight)
+ public void ShowVelocityAndGain()
{
VelocityChart.Show();
GainChart.Show();
- form.Height = SensitivityChart.Height +
- Constants.ChartSeparationVertical +
- VelocityChart.Height +
- Constants.ChartSeparationVertical +
- GainChart.Height +
- borderHeight;
}
- public void HideVelocityAndGain(Form form, int borderHeight)
+ public void HideVelocityAndGain()
{
VelocityChart.Hide();
GainChart.Hide();
- form.Height = SensitivityChart.Height + borderHeight;
}
public void SetLogarithmic(bool x, bool y)
diff --git a/grapher/Models/Charts/ChartXY.cs b/grapher/Models/Charts/ChartXY.cs
index 27b63b5..98ba059 100644
--- a/grapher/Models/Charts/ChartXY.cs
+++ b/grapher/Models/Charts/ChartXY.cs
@@ -24,9 +24,7 @@ namespace grapher
Combined = false;
SetCombined();
-
- Widened = false;
- SetWidened();
+ Visible = true;
}
#endregion Constructors
@@ -72,11 +70,9 @@ namespace grapher
}
}
- public bool Combined { get; private set; }
-
- public bool Widened { get; private set; }
+ public bool Combined { get; set; }
- public bool Visible { get; private set; }
+ public bool Visible { get; set; }
public string Title { get; }
@@ -273,36 +269,10 @@ namespace grapher
}
}
- public void SetWidened()
- {
- if (!Widened)
- {
- ChartX.Width = Constants.WideChartWidth;
- ChartY.Width = Constants.WideChartWidth;
-
- ChartX.Left = Constants.WideChartLeft;
- ChartY.Left = ChartX.Left + ChartX.Width + Constants.ChartSeparationHorizontal;
-
- Widened = true;
- }
- }
-
- public void SetNarrowed()
- {
- if (Widened)
- {
- ChartX.Width = Constants.NarrowChartWidth;
- ChartY.Width = Constants.NarrowChartWidth;
-
- ChartX.Left = Constants.NarrowChartLeft;
- ChartY.Left = ChartX.Left + ChartX.Width + Constants.ChartSeparationHorizontal;
-
- Widened = false;
- }
- }
public void Hide()
{
+
if (Visible)
{
ChartX.Hide();
diff --git a/grapher/Models/Options/ApplyOptions.cs b/grapher/Models/Options/ApplyOptions.cs
index 71e580d..b8cc9bf 100644
--- a/grapher/Models/Options/ApplyOptions.cs
+++ b/grapher/Models/Options/ApplyOptions.cs
@@ -175,16 +175,14 @@ namespace grapher.Models.Options
{
OptionSetX.SetRegularMode();
OptionSetY.Hide();
- AccelCharts.SetWidened();
- SetActiveTitlesWhole();
+ //SetActiveTitlesWhole();
}
public void ShowByComponentAsOneSet()
{
OptionSetX.SetTitleMode("X = Y");
OptionSetY.Hide();
- AccelCharts.SetWidened();
- SetActiveTitlesByComponents();
+ //SetActiveTitlesByComponents();
}
public void ShowByComponentAsTwoSets()
@@ -192,7 +190,6 @@ namespace grapher.Models.Options
OptionSetX.SetTitleMode("X");
OptionSetY.SetTitleMode("Y");
OptionSetY.Show();
- AccelCharts.SetNarrowed();
}
public void ShowByComponentSet()