コード例 #1
0
        private void _btnFind_Click(object sender, RoutedEventArgs e)
        {
            //var controllers = Nintroller.FindControllers();
            var controllers = Nintroller.GetControllerPaths();

            DeviceList = new List <string>();

            foreach (string id in controllers)
            {
                DeviceList.Add(id);
            }

            _comboBoxDeviceList.ItemsSource = DeviceList;
        }