Implemented Window input.