Pedals are sold as Latch and none Latching. Many are very quiet I have a Roland that makes no noise,
The other item is if it is a 2 switch needed then it will be a TRS jack.
The manual or sometime a diagram right on the device should tell you.
Example of latching type are the double footswitch found in the back of older Fender Amps.
Then none Latching would be the Piano sustain pedals
You can tell what is needed because if you use a non latching pedal where a latching was need, the effect will revert the minute you take your foot off the pedal.