Patent attributes
In certain embodiments, a method includes applying voltage to a sensor that includes first and second electrode tracks, the sensor proximate to a conductor depressible relative to the sensor and located between a button and the sensor. The conductor can capacitively couple with a capacitive node formed by the tracks, and the button can capacitively couple with an object. A value of a capacitance at the node is measured, the capacitance reflecting an amount of capacitive coupling between the conductor and the node. In response to the value meeting a first condition, a first button state is detected, indicating the object is within a detectable distance of and not in contact with the button. In response to the value meeting a second condition, a second button state is detected, indicating the object is in contact with the button and the conductor is not in contact with the sensor.