Beispiel #1
0
        // TODO: Address the issue that made this change necessary.
        // Most likely will be in a performance & memory optimization refactor.
        public Wiimote(byte[] rawData, Wiimote calibration)
        {
            buttons       = new CoreButtons();
            accelerometer = new Accelerometer();
            irSensor      = new IR();

            SetCalibration(calibration);
            Update(rawData);
        }
Beispiel #2
0
        //INintrollerState extension;

        public Wiimote(byte[] rawData)
        {
            buttons       = new CoreButtons();
            accelerometer = new Accelerometer();
            irSensor      = new IR();
            //extension = null;

            Update(rawData);
        }