summaryrefslogtreecommitdiff
path: root/grapher/Form1.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2021-01-20 00:42:24 -0800
committerJacob Palecki <[email protected]>2021-01-20 00:42:24 -0800
commit77b4c7876918cac82494ec8fc15a22fdab5cf714 (patch)
tree66b2c7d86cecf0846c3b5cdaa69c6991858ed931 /grapher/Form1.cs
parentRemove debug statement (diff)
parentshow custom dialog on bad input (#63) (diff)
downloadrawaccel-77b4c7876918cac82494ec8fc15a22fdab5cf714.tar.xz
rawaccel-77b4c7876918cac82494ec8fc15a22fdab5cf714.zip
merge with master builds
Diffstat (limited to 'grapher/Form1.cs')
-rw-r--r--grapher/Form1.cs22
1 files changed, 6 insertions, 16 deletions
diff --git a/grapher/Form1.cs b/grapher/Form1.cs
index 06f76f1..71a5e01 100644
--- a/grapher/Form1.cs
+++ b/grapher/Form1.cs
@@ -69,6 +69,7 @@ namespace grapher
gainOffsetToolStripMenuItem,
legacyOffsetToolStripMenuItem,
AutoWriteMenuItem,
+ UseSpecificDeviceMenuItem,
ScaleMenuItem,
DPITextBox,
PollRateTextBox,
@@ -173,19 +174,18 @@ namespace grapher
protected override void WndProc(ref Message m)
{
- if (m.Msg == 0x00ff)
+ if (m.Msg == 0x00ff) // WM_INPUT
{
AccelGUI.MouseWatcher.ReadMouseMove(m);
}
+ else if (m.Msg == 0x00fe) // WM_INPUT_DEVICE_CHANGE
+ {
+ AccelGUI.UpdateInputManagers();
+ }
base.WndProc(ref m);
}
- private void Form1_Load(object sender, EventArgs e)
- {
-
- }
-
public void ResetAutoScroll()
{
chartsPanel.AutoScrollPosition = Constants.Origin;
@@ -205,16 +205,6 @@ namespace grapher
};
}
- private void RawAcceleration_Paint(object sender, PaintEventArgs e)
- {
- //AccelGUI.AccelCharts.DrawLastMovement();
- }
-
#endregion Method
-
- private void optionsPanel_Paint(object sender, PaintEventArgs e)
- {
-
- }
}
}