Detect touch or proximity by capacitve sensing