Microsoft DirectX 8.1 (Visual Basic) |
This section contains the following tutorials, each providing step-by-step instructions for implementing Microsoft® DirectInput® in a Microsoft Visual Basic® application.
The first tutorial shows how to add DirectInput keyboard support to an existing application, using event polling.
The next tutorial takes you through the steps of providing DirectInput mouse support in an application, using the exclusive cooperative level and event notification. The tutorial is based on the ScrawlB Sample, and focuses on buffered data.
This tutorial shows how to enumerate all the joysticks connected to a system, how to create and initialize DirectInputDevice objects for each of them in a callback function, and how to retrieve immediate data.
This tutorial shows how to implement simple force-feedback effects in an application.
The final tutorial shows how to set up, apply, and use the new Action Mapping functionality of DirectInput.