Even though they fit, these adaptive switches do NOT plug into the headphone jack on your device (computer, tablet or phone). Virtually all adaptive switches use a 3.5mm (1/8-inch headphone) audio connector.
One must be provided with the adative switch. Mac computers do not have an adaptive switch interface. Follow this link to Apple's web page for more information about macOS built-in Accessibility.