mouse coordinates

I am currently trying to write a program that will move the camera based on how you move the mouse the problem is the mouse coordinates never seem to change. I’ve checked this by adding a print statement in my mouseMotion function and x always prints the same and my image only moves down no matter how you move the mouse. I checked for latest dlls and libs and everything seems updated? anyone have any ideas?