if you mean you want to use two buttons like "on" and "off" buttons, here's one way to do it:
Code:
static char btn_status = 0;
if(p1_sw_aux1) btn_status = 1;
if(p1_sw_aux2) btn_status = 0;
relay1_fwd = btn_status;
basically, just declare a static variable (so that it holds its state), then use the input from the buttons to set the variable at the appropriate times. (note - some of the input variable names may be off, i'm doing this from memory only)