Touchscreen scanning fundamentals