Fixed input tracking. Still needs some sort of calibration, specially for keyboard input.