but I assume they have slightly different plugs, shaped to trip the switch one way or the other?


No, just plug or no plug. It checks if the plug in the barrel connector is "activated" (by an inserted plug) or not - probably by checking if the leaf switch is grounded or not.

/Michael
_________________________
/Michael