1. A method to determine direction of motion in a sensor array of a touch sensing device, comprising: detecting a presence of a conductive object on a sensing device; determining a first location of the detected presence of the conductive object; determining a second location of the detected presence of the conductive object; comparing the second location to the first location using a rule-based logic algorithm; recognizing a first direction of motion of the conductive object based on the comparison of the second location to the first location; determining a third location of the detected presence of the conductive object; comparing the third location to the second location using the rule-based logic algorithm; and recognizing a continued first direction of motion of the conductive object based on the comparison of the third location to the second location, wherein the rule-based logic algorithm includes: if f[i]=0, then g[i]=0; if f[i−1]=f[i], then g[i]=0; if f[i−1]<f[i], then g[i]=left; and if f[i−1]>f[i], then g[i]=right; where: f[i]=current sample of sensor mask(t); f[i−1]=previous sample of sensor mask(t); g[i]=output of direction detection algorithm; and t=time.