I was wondering how to enable the mouse and be able to capture the current x,y coords. Pretty simple I’m sure … but need some direction of where to look for info. Thanks in advance.
In Windows, you have several options, you can simply use GetCursorPos() to get the mouse position, or you can get the position as part of the parameters of most all of the Window’s mouse messages. You’ll need to convert the mouse coordinates to client coordinates before they’ll be of any use.
You could also use DirectInput to get mouse input (surprisingly easy to do, but be aware that NT 4.0 is not compatible with most versions of DirectX).
or use glutMouseFunc