Force sensing happens when the user squeezes the housing of an earbud to produce a function. The inductive coils can detect as little as 2um deflection of the metal target .
A slider can be implemented beneath a sealed plastic housing making the solution completely waterproof. The inductive coils detect the position of the metal object.