You'll probably want a bluetooth or USB MIDI foot switch, which can be used as an independent control device for your DAW. Alternately if you want to use a traditional sustain pedal, you'll need a footswitch-to-MIDI adapter like this: https://beatbars.com/en/footswitch-to-midi.html
Dan Panitz