O'Reilly logo

3D Game Development with Microsoft Silverlight 3 Beginner's Guide by Gastón C. Hillar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action—understanding sticks and buttons

Using DirectInput, you can take control of most gaming input devices that you can connect to a modern PC through USB. Some input devices look pretty complex. However, they are just a smart combination of sticks (analog axes) and buttons.

Therefore, the first step to understanding the gaming input device is checking the sticks and buttons offered. We followed a similar step for the gamepad, but now we are going to pay special attention to the functions offered by a steering wheel.

  1. Connect the USB steering to the computer and install its driver if you have not done so.
  2. Go to Control Panel | Game Controllers. Select the wheel in the game controllers list and click on Properties (some drivers show the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required