Old app note from Texas Instruments on smart phone selfie sticks button detection. Link here (PDF)
Selfie sticks are becoming as common of a smart phone accessory as a pair of headphones. Because of the selfie stick’s increasing popularity, smart phone manufacturers need to be able to accommodate the accessory. This report describes the procedure required for a smart phone to detect when a selfie stick accessory is inserted into a smart phone’s audio jack receptacle using TI audio jack switches TS3A227E and TS3A225E. It shows how these devices respond to common selfie-stick implementations and how to adjust the audio jack switch’s register settings to accommodate both traditional audio accessories as well as the new selfie stick accessory.