Foot-operated generator