Since almost everyone uses USB keyboards, I am surprised that a small addon board with just 2 keycaps that can be placed near the spacebar, hasn't already been made. Could do it with a Teensy or anything else that exposes HID, I think.
Not very convenient for having both buttons near your thumbs, though.
I've been trying out the related SwyftCard for Apple //e on the izapple2 emulator.
https://github.com/ivanizag/izapple2
./a2sdl -model swyft
It actually works really well; it uses the left and right alt keys as the open and solid Apple keys, which the SwyftCard uses as forward and backward leaping. It's quite easy and comfortable to use!I've seen something (on HN in the past, maybe?) similar - someone developed pedals (maybe for Vim?)