Beispiel #1
0
        private void reportingmodeBox_SelectedIndexChanged(object sender, EventArgs e)
        {
            ReportingMode selectedReportingMode = (ReportingMode)reportingmodeBox.SelectedItem;

            if (Wiimote.ReportingMode != selectedReportingMode && selectedReportingMode != ReportingMode.None)
            {
                Wiimote.SetReportingMode(selectedReportingMode);
            }
        }