add libraries and joystick