Oscillator-Based Touch Sensor With Adaptive Resolution