Sign in to follow this  

Setting mouse position in external SDL app

This topic is 3576 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: [url=http://www.resplect.com/xwii]XWii homepage[/url]

Share this post


Link to post
Share on other sites

This topic is 3576 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this