Jump to content
  • Advertisement

Archived

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

nckchan

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

This topic is 5983 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!