"The use of DirectInput for keyboard and mouse input is not recommended, Windows messages should be used instead"
It links off to a doc on how to use Windows messages. Specifically it describes WM_MOUSEMOVE and this links to the msdn documentation.
I also read about the same stuff here:
http://www.toymaker....html/input.html
tbh, the raw input stuff looks more complicated than just straight keyboard input and mouse input. Am I right in thinking that Keyboard Input done with Windows Messages in this way is based off the Windows API. Because I don't think it is part of DirectX. XInput and DirectInput are part of DirectX.
I suppose the reason for my post is to ask if Windows messages is the usual way of tackling keyboard and mouseinput? And also, what is the best way of getting this information over to the rendering part of my code base. I have already started using Windows messages to pass x, y screen co-ordinates of the mouse over to some rendering code like this:
http://ideone.com/4Ho4F
But I imagine that with all of the input I need to process for my project, the [color=#000066]