예제 #1
0
 public ControllerConfig()
 {
     mapping      = new ushort[24];
     deviceType   = MappedDeviceType.None;
     instanceGUID = Guid.Empty.ToString();
     productGUID  = Guid.Empty.ToString();
 }
예제 #2
0
            public void ChangeDeviceType(MappedDeviceType devicetype)
            {
                deviceType = devicetype;

                for (int i = 0; i < mapping.Length; i++)
                {
                    mapping[i] = 0;
                }
            }