Example #1
0
 public DxAssgn(DxAssgn otherInstance)
 {
     for (int i = 0; i < assign.Length; i++)
     {
         assign[i] = otherInstance.assign[i].Clone();
     }
 }
Example #2
0
 /// <summary>
 /// Make new instance.
 /// </summary>
 public JoyAssgn()
 {
     for (int i = 0; i < axis.Length; i++)
     {
         axis[i] = new AxAssgn();
     }
     for (int i = 0; i < pov.Length; i++)
     {
         pov[i] = new PovAssgn();
     }
     for (int i = 0; i < dx.Length; i++)
     {
         dx[i] = new DxAssgn();
     }
 }
Example #3
0
        public JoyAssgn(Device device)
        {
            this.device = device;

            for (int i = 0; i < axis.Length; i++)
            {
                axis[i] = new AxAssgn();
            }
            for (int i = 0; i < pov.Length; i++)
            {
                pov[i] = new PovAssgn();
            }
            for (int i = 0; i < dx.Length; i++)
            {
                dx[i] = new DxAssgn();
            }
        }