Split mouse and keyboard input