I used this for my keyboard. I do not play much, and do not use the sustain much. Even though, it broke fairly quick (in one case the plastic hinge, in another the PCB with switch)
I do not recommend this switch for keyboards. But you can probably use it for equipment control, where the usage is very light. But maybe not as your first option.
For the price, you can have a few of these as spares in a pinch.