diff --git a/InputTest/Program.cs b/InputTest/Program.cs index cea67caf..73216e64 100644 --- a/InputTest/Program.cs +++ b/InputTest/Program.cs @@ -20,11 +20,11 @@ namespace InputTest while (true) { - var keyboard = Keyboard.GetState(); - if (keyboard.IsAnyKeyDown) + var mouseCurs = Mouse.GetCursorState(); + var mouse = Mouse.GetState(); + if (mouseCurs.IsAnyButtonDown || mouse.IsAnyButtonDown) { - Console.WriteLine("Key detected. Working"); - break; + Console.WriteLine(mouseCurs.X + " " + mouseCurs.Y + " - " + mouse.X + " " + mouse.Y); } Thread.Sleep(500); diff --git a/src/OpenTK/OpenTK.Standard.csproj b/src/OpenTK/OpenTK.Standard.csproj index c75a96eb..ef6d4ae3 100644 --- a/src/OpenTK/OpenTK.Standard.csproj +++ b/src/OpenTK/OpenTK.Standard.csproj @@ -68,7 +68,7 @@ true - 1.0.5.10 + 1.0.5.12 The Open Toolkit library (OpenTK) is an advanced, low-level C# wrapper for OpenGL, OpenGL ES and OpenAL. It is suitable for games, scientific visualizations and projects that require 3d graphics, audio or compute functionality. @@ -84,8 +84,8 @@ This version can be found at https://github.com/emmauss/opentk emmaus OpenTK https://github.com/emmauss/opentk - 1.0.5.10 - 1.0.5.10 + 1.0.5.12 + 1.0.5.12 @@ -114,4 +114,4 @@ This version can be found at https://github.com/emmauss/opentk - \ No newline at end of file +