I am also trying to get my head around gen~ inputs and not having midi or cv inputs at hand, having some kind of control input would be useful.
Don’t know if it’ll help but the ‘param’ object allows you to pass numerical data (such as MIDI pitch/velocity) to the gen~ object.
In relation to making a toggle controllable via MIDI, this is something I need to do with several patches. This is my work around, might be useful to someone, and I am sure can be achieved in a more elegant fashion! But it essentially gives you a toggle controllable signal generator inside gen~ that can be used to trigger loopers or whatever else.