Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: MouseWheelEvent Delta Bug  (Read 2343 times)

0 Members and 1 Guest are viewing this topic.

TheDuceCat

  • Newbie
  • *
  • Posts: 12
    • View Profile
MouseWheelEvent Delta Bug
« 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: MouseWheelEvent Delta Bug
« Reply #1 on: February 19, 2013, 10:29:30 pm »
Laurent Gomila - SFML developer

TheDuceCat

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: MouseWheelEvent Delta Bug
« Reply #2 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: MouseWheelEvent Delta Bug
« Reply #3 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)?
Laurent Gomila - SFML developer

TheDuceCat

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: MouseWheelEvent Delta Bug
« Reply #4 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.