Test for basic mouse input

This commit is contained in:
Andy Korth 2013-01-03 10:07:50 -06:00
parent d029a73c68
commit 5a6f5a870e

View file

@ -31,8 +31,10 @@ namespace Examples.Tests
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
this.Mouse.ButtonUp += (object sender, MouseButtonEventArgs buttonEvent) => Console.WriteLine("Mouse button up: " + buttonEvent.Button + " at: " + buttonEvent.Position);
this.Mouse.ButtonUp += (object sender, MouseButtonEventArgs buttonEvent) => {
Console.WriteLine("Mouse button up: " + buttonEvent.Button + " at: " + buttonEvent.Position);
};
GL.ClearColor(Color.MidnightBlue);
GL.Enable(EnableCap.DepthTest);