Archived

This topic is now archived and is closed to further replies.

nckchan

How can I set the cursor position in X Window??

Recommended Posts

I''m using C++ to implement a first person view walk through program. I want to use a mouse to control the orientation of the camera. So I want to set the cursor to the center of the window and check the value away from the center after the mouse is moved. However, I don''t know how to set the cursor to the specific position. Can anyone help me???? Thx chikit

Share this post


Link to post
Share on other sites
He said X Window.

Edit: I don't find anything, and I doubt it is even possible, since the mouse position data is on the client side.

Edited by - Fruny on January 29, 2002 3:55:03 PM

Share this post


Link to post
Share on other sites