SFML community forums

Help => Window => Topic started by: TheDuceCat on February 19, 2013, 10:18:40 pm

Title: MouseWheelEvent Delta Bug
Post by: TheDuceCat on February 19, 2013, 10:18:40 pm
I noticed that, on Windows, the MouseWheelEvent won't fire if the delta is -1. Anything positive is registered, as is any negative value less than -1, but nothing seems to happen when I roll the mouse wheel back slow enough.
Title: Re: MouseWheelEvent Delta Bug
Post by: Laurent on February 19, 2013, 10:29:30 pm
https://github.com/SFML/SFML/issues/95 ?
Title: Re: MouseWheelEvent Delta Bug
Post by: TheDuceCat on February 19, 2013, 11:39:33 pm
https://github.com/SFML/SFML/issues/95 ?
No, that doesn't seem to be it. I tried with two mice now, and without fail, the only time it will not fire the event is if I roll the wheel back slower than -2. The problem is not that the event fires with a delta of 0, but that it doesn't fire at all.
Title: Re: MouseWheelEvent Delta Bug
Post by: Laurent on February 20, 2013, 07:49:18 am
And does the same action triggers a scroll in a regular application (ie. isn't your mouse wheel slightly broken)?
Title: Re: MouseWheelEvent Delta Bug
Post by: TheDuceCat on February 21, 2013, 02:47:33 am
And does the same action triggers a scroll in a regular application (ie. isn't your mouse wheel slightly broken)?
Both mice seem to work fine. I don't have any problems with scroll detection.