I looked into using mouse_pos and checking from one frame to the next how far the mouse had moved. This actually works, but once the mouse position reaches the edge of the screen, it no longer registers movement in that direction.