	if(PsychMatch(command,"GetNumAxes"))return &JOYSTICKGetNumAxes;
	if(PsychMatch(command,"GetNumBalls"))return &JOYSTICKGetNumBalls;
	if(PsychMatch(command,"GetNumHats"))return &JOYSTICKGetNumHats;
	if(PsychMatch(command,"GetButton"))return &JOYSTICKGetButton;
	if(PsychMatch(command,"GetAxis"))return &JOYSTICKGetAxis;
	if(PsychMatch(command,"GetBall"))return &JOYSTICKGetBall;
	if(PsychMatch(command,"GetHat"))return &JOYSTICKGetHat;
	if(PsychMatch(command,"GetJoystickName"))return &JOYSTICKGetJoystickName;
	if(PsychMatch(command,"GetJoystickNumbersFromName"))return &JOYSTICKGetJoystickNumbersFromName;
	if(PsychMatch(command,"Unplug"))return &JOYSTICKUnplug;

	// Unknown command.
	return NULL;