I have read that the Windows messages are recommended way over DirectInput to control mouse and keyboard.
From http://msdn.microsoft.com/en-us/library/windows/desktop/ee416842(v=vs.85).aspx
The use of DirectInput for keyboard and mouse input is not recommended. You should use Windows messages instead.
Why is it so? Because the DirectInput is still in version 8? Isn't it extending anymore?