IDirectInputDevice
IDirectInputDevice is a COM interface within the DirectInput portion of Microsoft DirectX. It represents a single input device, such as a keyboard, mouse, joystick, gamepad, or other HID device. An application obtains an IDirectInputDevice instance from an IDirectInput object, typically by calling CreateDevice with the device’s GUID or by enumerating devices and selecting one.
The interface provides the means to configure the device, control its lifecycle, and retrieve input data. Key
Additional capabilities are queried and configured through methods such as GetCapabilities, GetProperty, and SetProperty. The interface