예제 #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?
        }
예제 #2
0
파일: Wiimote.cs 프로젝트: dsesclei/DS501
        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?
        }