switched to a ptr of vector<SmartJoystick*>