A device for detecting a user's intention to lock or unlock a motor vehicle door, integrated into a
handle (10) and consisting of a casing (B′) includes a first part (52), elastically deformable along a predetermined axis (Y-Y′), with an area (50) of contact with the
handle, a printed circuit (80), a
voltage source (Vcc), and a contact detection element (100) including:a non-magnetic
metal target (40) which moves along the predetermined axis,a coil (20), and a
capacitance (C1), forming an oscillating circuit,elements (M1) for adjusting the frequency of the circuit,a prestressed compressible element (30), located between the target and the coil,elements (51) for transmitting a movement of the first part to the target,elements (M2) for measuring an
inductance (L) of the coil,elements (M3) for comparison between the measured
inductance and a predetermined threshold value of
inductance (Ls),and control elements (60′).