The current Switch has its Joy-Con controllers attach by sliding through a railing on the side until a locking mechanism clicks them into place. Owners then press a very (very) small black button on ...
Similar to the first iteration of Joy-Cons, hitting a dedicated button will detach the controller. It's not entirely clear ...