using flags now for analog stick in control.c