Пример #1
0
 public void Initialize()
 {
     home = ButtonState.Released;
     plus = ButtonState.Released;
     minus = ButtonState.Released;
     dUp = ButtonState.Released;
     dRight = ButtonState.Released;
     dDown = ButtonState.Released;
     dLeft = ButtonState.Released;
     one = ButtonState.Released;
     two = ButtonState.Released;
     a = ButtonState.Released;
     b = ButtonState.Released;
     ir = new IRState();
     connected = false;
 }
Пример #2
0
 public WiimoteState()
 {
     ir = new IRState();
     accel = Vector3.Zero;
 }