added initializations for joysticks