All have the syntax glut[someEvent]Func, in the case of the mouse clicking it would be glutMouseFunc.