Microsoft DirectX 8.0 (Visual Basic) |
The first step in any Microsoft® DirectInput® application is creating the DirectInput8 object. Do this by using the DirectX8.DirectInputCreate method.
You should create a single DirectInput8 object and not destroy it until the application terminates.