dinput.dll is used for DirectX - it controls joysticks and gamepads.

Maybe something's affected DirectX somehow?