Advertisement

Cursor position with OpenGL and X

Started by July 11, 2004 11:12 PM
0 comments, last by programmer2030 20 years, 1 month ago
I have begun to port one of my GLUT projects to use X. Mostly so that I am able to have more access. I do not know how to get the cursor position when it moves. Essentially I am looking for a glutPassiveMotionFunc. Any help is appreciated.
-------------------------------------------------------------Programmer2030I am me. I think. Or do I. What is thinking?<IMG SRC="http://web3.foxinternet.net/sixflowers/my sign.png"
Found it.
XQueryPointer(...); in XLib.h
-------------------------------------------------------------Programmer2030I am me. I think. Or do I. What is thinking?<IMG SRC="http://web3.foxinternet.net/sixflowers/my sign.png"

This topic is closed to new replies.

Advertisement