Added joystick functionality(credit: ProjectProto)