Keyboard.GetState Method (PlayerIndex)
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
|InvalidOperationException||An invalid operation occurred when querying the Chatpad state.|
Each player can have their own Chatpad, which is queried as a keyboard. To query an attached USB keyboard instead, use the GetState method that does not require a player index.