dont even bother with setting up a deadzone.
this is assuming your using the default FRC codes
in user_routines.c go to the void Process_Data_From_Master_uP(void) function
then find the printf statement and change it from this
Code:
printf("Port1 Y %3d, X %3d, Fire %d, Top %d\r",(int)p1_y,(int)p1_x,(int)p1_sw_trig,(int)p1_sw_top);
to this
Code:
printf("Port1 Y %3d, Fire %d, Top %d\r",(int)p1_y,(int)p1_sw_trig,(int)p1_sw_top);
poof, no more x-axis
then to avoid any problems with the mixer, just remove it and replace it with another code to set pwm values to the y-axis
ex.
Code:
pwm01=p1_y
pwm02=254 - p2_y /*to reverse the pwm signals if you want,
instead of reversing the motor polarity*/