Is headphone jack capable of reading buttons? (TRRS)

Doesn’t seem to now (Ubuntu 20.04), is the hardware capable of reading TRRS buttons on a wired headset?