make windows able to report cursor position