dt2w: improve accuracy of single touch detection

Signed-off-by: shivamk11 <shivamk11@gmail.com>
proximity: power off the sensor if dt2w/s2w is disabled

Signed-off-by: shivamk11 <shivamk11@gmail.com>
input: declare variables dependant on s2w/dt2w when the features are disabled

Signed-off-by: shivamk11 <shivamk11@gmail.com>