diff --git a/Program.cs b/Program.cs index 70d3d6a..ba12055 100644 --- a/Program.cs +++ b/Program.cs @@ -1,10 +1,20 @@ -using System; +using System; +using spnavwrapper; + namespace spnavcsharpwrapper { class Program { static void Main(string[] args) { + SpaceNav.Instance.Threshold = 5; + SpaceNav.Instance.Sensitivity = 0.1; + + for (; ; ) + { + var ev = SpaceNav.Instance.WaitEvent(100); + Console.WriteLine(ev); + } } } }