A dual-function button for a stylus, comprising: a circuit disposed within a barrel of the stylus, the circuit having at least a first electrode and a second electrode disposed thereon, wherein the first electrode comprises a first pair of electrical traces separated by a first gap and the second electrode comprises a second pair of electrical traces separated by a second gap; a conductive polymer disposed within a tail end of the stylus and positioned adjacent to the circuit; a microcontroller disposed within the barrel of the stylus, the microcontroller configured to detect an electrical continuity of the first electrode and the second electrode, the microcontroller further configured to output a first signal in response to detecting the electrical continuity between the first pair of electrical traces and output a second signal in response to detecting the electrical continuity between the second pair of electrical traces; and a tail assembly comprising the conductive polymer, the tail assembly configured to move axially relative to the barrel in a plunging direction and a retracting direction, wherein a first plunging force applied to the tail assembly causes the conductive polymer to make surface contact with the first electrode and bridge the first gap thereby creating the electrical continuity between the first pair of electrical traces, wherein a second plunging force, greater than the first plunging force, causes the conductive polymer to deform, make surface contact with the second electrode, and bridge the second gap thereby creating the electrical continuity between the second pair of electrical traces. a circuit disposed within a barrel of the stylus, the circuit having at least a first electrode and a second electrode disposed thereon, wherein the first electrode comprises a first pair of electrical traces separated by a first gap and the second electrode comprises a second pair of electrical traces separated by a second gap; a conductive polymer disposed within a tail end of the stylus and positioned adjacent to the circuit; a microcontroller disposed within the barrel of the stylus, the microcontroller configured to detect an electrical continuity of the first electrode and the second electrode, the microcontroller further configured to output a first signal in response to detecting the electrical continuity between the first pair of electrical traces and output a second signal in response to detecting the electrical continuity between the second pair of electrical traces; and a tail assembly comprising the conductive polymer, the tail assembly configured to move axially relative to the barrel in a plunging direction and a retracting direction, wherein a first plunging force applied to the tail assembly causes the conductive polymer to make surface contact with the first electrode and bridge the first gap thereby creating the electrical continuity between the first pair of electrical traces, wherein a second plunging force, greater than the first plunging force, causes the conductive polymer to deform, make surface contact with the second electrode, and bridge the second gap thereby creating the electrical continuity between the second pair of electrical traces.