I found a touchpad device and their system of clearing interference. They just take three (there are variations, but the standard is three) the coordinates of the finger next to and average them. Thus, interference is minimized, and the necessary information about the location of the finger is saved.
Method code - takes the coordinates of the finger, gives the average values
float FilterX(float rawX) { if (lowFilterX.Count > 3) { if (save == 0) { filterCoordX = 0; } else { filterCoordX = save; } for (int i = 0; i < lowFilterX.Count; i++) { filterCoordX = (lowFilterX[1] + lowFilterX[2] + lowFilterX[3]) / 3; } save = filterCoordX; lowFilterX.Add(rawX); lowFilterX.RemoveAt(0); return filterCoordX; } else { lowFilterX.Add(rawX); return rawX; } }