If the following is true, you pretty much solved the problem: "if the content of the input changed in X ms and no key has been typed in X ms, then a software aid has been used".
Or, put another way, you can know if the text changed and the user typed something (or not)