To interact with players, XNA games must be able to collect their input. XNA provides you with everything you need to develop PC and Xbox games that can interact with players using either a keyboard or gamepad controllers. XNA lets you create games on the Zune, using the Zune button and joypad controller. This chapter will identify the XNA classes that support interaction with different game controllers and show you how to work with them.
An overview of the major topics covered in this chapter includes learning how to:
Detect gamepads and react when the player presses buttons
Collect user input using the gamepad thumbpads and the Dpad
Collect user keyboard input
Collect input when your games are played on the Zune