Use sendinput instead of sendraw, it may have better game compatibility.