SDL_SetRelativeMouseMode SDL 2.0 bug?

I thought this was working before, but perhaps I’m using a new build which
broke the following:

When calling SDL_SetRelativeMouseMode(True) (which returns 0) all mouse
events are disabled. According to the documentation:

http://wiki.libsdl.org/moin.fcg/SDL_SetRelativeMouseMode

“While the mouse is in relative mode, the cursor is hidden, and the driver
will try to report continuous motion in the current window.”

But I am receiving nothing in the range
between SDL_MOUSEMOTION…SDL_MOUSEWHEEL when in relative mode.

I am running Ubuntu 12.04 32 bit if that helps.

Also, another small thing I noticed which smells like a bug, when I leave
the window with the mouse I always get a mouse motion event with x and y
set to 0 regardless of where the mouse was when it left. That probably
shouldn’t be happening.

If I should be filling out bug reports, could someone be kind enough to
refer me to the official SDL 2.0 bug reporting system?

Thanks

I thought this was working before, but perhaps I’m using a new build which
broke the following:

When calling SDL_SetRelativeMouseMode(True) (which returns 0) all mouse
events are disabled. According to the documentation:

http://wiki.libsdl.org/moin.fcg/SDL_SetRelativeMouseMode

“While the mouse is in relative mode, the cursor is hidden, and the driver
will try to report continuous motion in the current window.”

But I am receiving nothing in the range
between SDL_MOUSEMOTION…SDL_MOUSEWHEEL when in relative mode.

I am running Ubuntu 12.04 32 bit if that helps.

Also, another small thing I noticed which smells like a bug, when I leave
the window with the mouse I always get a mouse motion event with x and y
set to 0 regardless of where the mouse was when it left. That probably
shouldn’t be happening.

If I should be filling out bug reports, could someone be kind enough to
refer me to the official SDL 2.0 bug reporting system?

Thanks

Hi Anthony,

You can use:
http://bugzilla.libsdl.org/

Please include detailed repro-steps or a sample program that
demonstrates the issue in your bug report. Thanks!On 5/1/2013 7:50 AM, Anthony Walter wrote:

I thought this was working before, but perhaps I’m using a new build
which broke the following:

When calling SDL_SetRelativeMouseMode(True) (which returns 0) all
mouse events are disabled. According to the documentation:

http://wiki.libsdl.org/moin.fcg/SDL_SetRelativeMouseMode

“While the mouse is in relative mode, the cursor is hidden, and the
driver will try to report continuous motion in the current window.”

But I am receiving nothing in the range
between SDL_MOUSEMOTION…SDL_MOUSEWHEEL when in relative mode.

I am running Ubuntu 12.04 32 bit if that helps.

Also, another small thing I noticed which smells like a bug, when I
leave the window with the mouse I always get a mouse motion event with
x and y set to 0 regardless of where the mouse was when it left. That
probably shouldn’t be happening.

If I should be filling out bug reports, could someone be kind enough
to refer me to the official SDL 2.0 bug reporting system?

Thanks


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