Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Xbox 360 コントローラーの A ボタンが押された場合、C# プロジェクトをチェックインしたいと考えています。XNA と slimDX を試しましたが、うまくいきません。誰かが私にそれがどのように機能するかアドバイスできますか?
XNAで
GamePadState currentState = GamePad.GetState(PlayerIndex.One); if (currentState.IsConnected && currentState.Buttons.A == ButtonState.Pressed) { }