Exemplo n.º 1
0
 public void Copy(XInputState source)
 {
     PacketNumber = source.PacketNumber;
      Gamepad.Copy(source.Gamepad);
 }
Exemplo n.º 2
0
 public static extern int XInputGetState(
     int dwUserIndex,  // [in] Index of the gamer associated with the device
     ref XInputState pState        // [out] Receives the current state
 );