• Advertisement
Sign in to follow this  

Setting mouse position in external SDL app

This topic is 3645 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