public static void Main(string[] args) { hexy = new Hexy(); Console.WriteLine("Press button 1 + 2 on your Wii Remote..."); Thread.Sleep(1000); #if NET using (var wm = new WiimoteWin32()) #elif MONO using (var wm = new WiimoteMono()) #endif { wm.Connect(); wm.SetReportType(InputReport.IRExtensionAccel, true); wm.WiimoteChanged += wm_WiimoteChanged; Console.WriteLine("Wii Remote connected..."); Console.WriteLine("Press the HOME button to disconnect the Wii and end the application"); wm.SetLEDs(leds); while (!exit) { } } }