Fixed line endings.
This commit is contained in:
parent
f65fd4b221
commit
949f1e9ee2
1 changed files with 8 additions and 8 deletions
|
@ -108,19 +108,19 @@ namespace Examples.Tests
|
|||
ControlLogMouseKey ControlLogMouseKeyDown =
|
||||
delegate(GameWindow input_window, S04_Input_Logger control, MouseDevice sender, MouseButton button)
|
||||
{
|
||||
if (sender.DeviceID == input_window.Mouse.DeviceID)
|
||||
if (sender.DeviceID == input_window.Mouse.DeviceID)
|
||||
{
|
||||
control.MouseButtonsBox.Items.Add(button);
|
||||
System.Diagnostics.Debug.Print("Button down: {0}", button);
|
||||
control.MouseButtonsBox.Items.Add(button);
|
||||
System.Diagnostics.Debug.Print("Button down: {0}", button);
|
||||
}
|
||||
};
|
||||
ControlLogMouseKey ControlLogMouseKeyUp =
|
||||
delegate(GameWindow input_window, S04_Input_Logger control, MouseDevice sender, MouseButton button)
|
||||
{
|
||||
if (sender.DeviceID == input_window.Mouse.DeviceID)
|
||||
if (sender.DeviceID == input_window.Mouse.DeviceID)
|
||||
{
|
||||
control.MouseButtonsBox.Items.Remove(button);
|
||||
System.Diagnostics.Debug.Print("Button up: {0}", button);
|
||||
control.MouseButtonsBox.Items.Remove(button);
|
||||
System.Diagnostics.Debug.Print("Button up: {0}", button);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -180,7 +180,7 @@ namespace Examples.Tests
|
|||
|
||||
private void ChooseMouse_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
MouseButtonsBox.Items.Clear();
|
||||
MouseButtonsBox.Items.Clear();
|
||||
}
|
||||
|
||||
#region public static void Main()
|
||||
|
@ -202,4 +202,4 @@ namespace Examples.Tests
|
|||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue