1. A machine-readable storage medium that provides instructions that, if executed by a machine, will cause the machine to perform operations comprising: measuring a capacitance value of a capacitance sensor within a capacitance sense interface to generate a measured capacitance value; analyzing the measured capacitance value to determine a baseline capacitance value for the capacitance sensor; updating the baseline capacitance value in real-time based at least in part upon a weighted moving average of the measured capacitance value; analyzing the measured capacitance value to determine whether the measured capacitance value drops below the baseline capacitance value by a negative threshold value for a predetermined period of time, wherein the predetermined period of time is greater than a single clock cycle; and updating the baseline capacitance value based on the measured capacitance value measured after the measured capacitance value dropped below the negative threshold value.