Mouse input doesn't work in game

My mouse works perfectly fine right until the game starts. Once in-game, no mouse input seems to work (moving or clicking). If I press escape to the in game menu, I can move my mouse again, but the character isn’t able to move at all. Tried in 3 different games, from both Halo 1 and Reach and the bug occurred in all 3.