Exemple #1
0
        public Wiimote(IntPtr hidapi_handle, string hidapi_path, WiimoteType Type)
        {
            _hidapi_handle = hidapi_handle;
            _hidapi_path   = hidapi_path;
            _Type          = Type;

            _Accel     = new AccelData(this);
            _Button    = new ButtonData(this);
            _Ir        = new IRData(this);
            _Status    = new StatusData(this);
            _Extension = null;

            //RequestIdentifyWiiMotionPlus(); // why not?
        }
Exemple #2
0
        public Wiimote(IntPtr hidapi_handle, string hidapi_path, WiimoteType Type)
        {
            _hidapi_handle  = hidapi_handle;
            _hidapi_path    = hidapi_path;
            _Type    = Type;

            _Accel  = new AccelData(this);
            _Button = new ButtonData(this);
            _Ir     = new IRData(this);
            _Status = new StatusData(this);
            _Extension = null;

            //RequestIdentifyWiiMotionPlus(); // why not?
        }