I see an iKKEGOL USB foot control switch on Amazon for $13.99. Can't you hook that up to any software?

That was my first thought - I selected some generic USB pedal, but it failed to arrive, so I used what I had at hand. Also, there could be a problem with pre-made USB pedals - they may only transmit events on pedal down, like it happened for Vim Clutch author (https://github.com/alevchuk/vim-clutch).