mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 16:25:26 +00:00
The MouseChoose combobox now has the primary mouse selected by default.
This commit is contained in:
parent
58cd07ec2a
commit
201f671cd9
4
Source/Examples/Tests/InputLogger.Designer.cs
generated
4
Source/Examples/Tests/InputLogger.Designer.cs
generated
|
@ -359,14 +359,14 @@
|
||||||
//
|
//
|
||||||
this.PollTimer.Interval = 10;
|
this.PollTimer.Interval = 10;
|
||||||
//
|
//
|
||||||
// S04_Input_Logger
|
// InputLogger
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(432, 378);
|
this.ClientSize = new System.Drawing.Size(432, 378);
|
||||||
this.Controls.Add(this.tabControl);
|
this.Controls.Add(this.tabControl);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||||
this.Name = "S04_Input_Logger";
|
this.Name = "InputLogger";
|
||||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
this.Text = "S04: Input Logger";
|
this.Text = "S04: Input Logger";
|
||||||
this.tabControl.ResumeLayout(false);
|
this.tabControl.ResumeLayout(false);
|
||||||
|
|
|
@ -82,6 +82,8 @@ namespace Examples.Tests
|
||||||
|
|
||||||
// Add available mice to the mouse input logger.
|
// Add available mice to the mouse input logger.
|
||||||
ChooseMouse.Items.Add(String.Format("Mouse {0} ({1})", 0, hidden.Mouse.Description));
|
ChooseMouse.Items.Add(String.Format("Mouse {0} ({1})", 0, hidden.Mouse.Description));
|
||||||
|
ChooseMouse.SelectedIndex = 0;
|
||||||
|
|
||||||
//hidden.Mouse.Move += LogMouseMove;
|
//hidden.Mouse.Move += LogMouseMove;
|
||||||
hidden.Mouse.ButtonDown += LogMouseButtonDown;
|
hidden.Mouse.ButtonDown += LogMouseButtonDown;
|
||||||
hidden.Mouse.ButtonUp += LogMouseButtonUp;
|
hidden.Mouse.ButtonUp += LogMouseButtonUp;
|
||||||
|
|
Loading…
Reference in a new issue