Fixed line endings.

This commit is contained in:
the_fiddler 2008-05-04 17:44:13 +00:00
parent f65fd4b221
commit 949f1e9ee2

View file

@ -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
}
}
}