fixed bug in bq_joystick when declaring the global array variable