Sign in to follow this  
fatalGlory

Setting mouse position in external SDL app

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

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