Mouse input newbie question

…i cant find this anywhere.

how do i get the coordinates of my mouse pointer so i can draw at that location when the button is pressed?

any info is appriciated.

In glut do you set the glutMouseFunc callback function. Do a man glutMouseFunc if you have the man pages installed. In case you want a X function can you look in the glut sources.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.