DirectX:DirectInput

From GPWiki

DirectInput is the portion of Microsoft's DirectX API that handled peripherals for inputting user data. This input can come from many devices - mouse, keyboard, joystick, steering wheel and pedals, etc. All devices are treated internally in a similar fashion, making it easier for the programmer to manipulate and handle. DirectInput also supports force-feedback devices, making for a more realistic game.