test
This commit is contained in:
parent
d1d3c04d7f
commit
24585a1066
2 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
<Version>1.0.5.10</Version>
|
||||
<Version>1.0.5.12</Version>
|
||||
<Description>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</Description>
|
|||
<Company>emmaus</Company>
|
||||
<Product>OpenTK</Product>
|
||||
<PackageProjectUrl>https://github.com/emmauss/opentk</PackageProjectUrl>
|
||||
<AssemblyVersion>1.0.5.10</AssemblyVersion>
|
||||
<FileVersion>1.0.5.10</FileVersion>
|
||||
<AssemblyVersion>1.0.5.12</AssemblyVersion>
|
||||
<FileVersion>1.0.5.12</FileVersion>
|
||||
</PropertyGroup>
|
||||
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
||||
<Exec Command="$(OutputPath)..\..\..\..\Generator.Rewrite\bin\Debug\Rewrite.exe --assembly $(OutputPath)OpenTK.dll --signing-key ..\..\OpenTK.snk -debug -netstandard" Condition="$(OS) == 'Windows_NT' and $(Configuration) == 'Debug'" />
|
||||
|
@ -114,4 +114,4 @@ This version can be found at https://github.com/emmauss/opentk</Description>
|
|||
<ItemGroup>
|
||||
<Folder Include="Properties\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
Loading…
Reference in a new issue