Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Getting mouse wheel value
Print
Pages: [
1
]
Author
Topic: Getting mouse wheel value (Read 1227 times)
0 Members and 2 Guests are viewing this topic.
Richy19
Full Member
Posts: 190
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?
Logged
Laurent
Administrator
Hero Member
Posts: 32498
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.
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Getting mouse wheel value
anything