I need to use RAWINPUT instead of GetCursorPos because I am trying to get the x and y values while in a game. If I use GetCursorPos, the x and y values will constantly be at the center of the screen because that's how the game works. I read that RAWINPUT was perfect for cases like this but I am lost on how to properly use it. I have many questions after working on trying to figure it out for many hours.
Am I headed in the right direction?
Why won't this print out "Input" when I move my mouse?