SDL_WarpMouse breaks mouse movement on Mac

should be an easy fix involving CGSetLocalEventsSuppressionInterval (http://developer.apple.com/library/mac/#documentation/Carbon/Reference/QuartzEventServicesRef/DeprecationAppendix/AppendixADeprecatedAPI.html#//apple_ref/c/func/CGSetLocalEventsSuppressionInterval)

unfortunately it is labeled as deprecated with no listed replacement.

From that link:

“This function is not recommended for general use because of
undocumented special cases and undesirable side effects. The
recommended replacement for this function is
CGEventSourceSetLocalEventsSuppressionInterval, which allows the
suppression interval to be adjusted for a specific event source,
affecting only events posted using that event source.”

2012/11/29 brada :> should be an easy fix involving CGSetLocalEventsSuppressionInterval

unfortunately it is labeled as deprecated with no listed replacement.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

yes. i had already edited my response to include that.

I have no similar problems using these APIs, but i dont use them with SDL. maybe you should post some code.