Jump to content
  • Advertisement
Sign in to follow this  
fatalGlory

Setting mouse position in external SDL app

This topic is 3795 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've been writing an app lately to translate input from the Nintendo Wii Remote to keyboard and mouse events in linux. Currently all my work has been synthesizing events through Xlib to the X11 windowing system but this doesn't work for the mouse SDL apps (apparently SDL reads mouse events at a lower level than the Xlib library's generated events). I am wondering if anyone knows a way to set the position of the mouse cursor in an SDL app from an external program, not from the SDL app. Any help greatly appreciated. Check out the existing release of my code here: XWii homepage

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!