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)
|
while (true)
|
||||||
{
|
{
|
||||||
var keyboard = Keyboard.GetState();
|
var mouseCurs = Mouse.GetCursorState();
|
||||||
if (keyboard.IsAnyKeyDown)
|
var mouse = Mouse.GetState();
|
||||||
|
if (mouseCurs.IsAnyButtonDown || mouse.IsAnyButtonDown)
|
||||||
{
|
{
|
||||||
Console.WriteLine("Key detected. Working");
|
Console.WriteLine(mouseCurs.X + " " + mouseCurs.Y + " - " + mouse.X + " " + mouse.Y);
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Thread.Sleep(500);
|
Thread.Sleep(500);
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
<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.
|
<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.
|
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>
|
<Company>emmaus</Company>
|
||||||
<Product>OpenTK</Product>
|
<Product>OpenTK</Product>
|
||||||
<PackageProjectUrl>https://github.com/emmauss/opentk</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/emmauss/opentk</PackageProjectUrl>
|
||||||
<AssemblyVersion>1.0.5.10</AssemblyVersion>
|
<AssemblyVersion>1.0.5.12</AssemblyVersion>
|
||||||
<FileVersion>1.0.5.10</FileVersion>
|
<FileVersion>1.0.5.12</FileVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
<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'" />
|
<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'" />
|
||||||
|
|
Loading…
Reference in a new issue