FS3X Digitech pedal for Trio pedal - Can it be used as a standard midi pedal controller?

Thanks but I’m not sure which interface will work with the Digitech switch pedal.
I would assume the Digitech pedal is just a set of bounceless analog switches but I don’t have a schematic for it.
It may be cheaper to just get an actual used midi controller pedal.
I just happen to have the Digitech.
Maybe I can make a convertor.
I’ll have to look into it.