This project has moved and is read-only. For the latest updates, please go here.

.Connect() function not worling

Feb 17, 2014 at 8:36 AM
wm.Connect() function throws an exception please help

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using WiimoteLib;

namespace WiiTest
public partial class frmTest: Form
    Wiimote wm = new Wiimote();
    InputSimulator inSim = new InputSimulator();
    public frmTest()

    private void frmTest_Load(object sender, EventArgs e)
        wm.OnWiimoteChanged += new WiimoteChangedEventHandler(wm_OnWiimoteChanged);
wm.SetLEDs(true, true, true, true);
catch (Exception x)
            MessageBox.Show("Exception: " + x.Message);
Feb 17, 2014 at 5:29 PM
Need more info than that...what's the exception? What Wiimote device are you using?