Your project manager brings you a new USB gamepad, similar to the one used by Sony Playstation 3 game console. He wants to control the Invaders 2D game using the gamepad's right mini stick.
We cannot use DirectX to access DirectInput in Silverlight. We cannot access the gamepad driver either. Therefore, we have to use a feature provided by most gamepad drivers, the keyboard and mouse mode.
We have to configure the gamepad driver to map four gamepad keys to the keyboard's cursor movement keys:
You need a USB gamepad with 4 axis and 2 mini sticks in order to complete the following exercises.