Microsoft DirectX 8.0 (C++) |
The first step in any Microsoft® DirectInput® application is obtaining the IDirectInput8 interface. You can do this most easily by calling the DirectInput8Create function.
You should create a single Microsoft® DirectInput object and not release it until the application terminates.