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

Author Topic: Getting mouse wheel value  (Read 1136 times)

0 Members and 1 Guest are viewing this topic.

Richy19

  • Full Member
  • ***
  • Posts: 190
    • View Profile
Getting mouse wheel value
« on: September 28, 2011, 03:11:16 pm »
Hi, i was wondering if SFML gives you the ability to access the mouse wheel value?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Getting mouse wheel value
« Reply #1 on: September 28, 2011, 03:18:37 pm »
There's no mouse wheel value (it has no beginning and no end, it's an endless rotation). All you can retrieve is the moment when it's rotated up or down, which you can get with the sf::Event::MouseWheelMoved event.
Laurent Gomila - SFML developer