Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Window
»
Mouse wheel unusable on Mac
Print
Pages: [
1
]
Author
Topic: Mouse wheel unusable on Mac (Read 1919 times)
0 Members and 1 Guest are viewing this topic.
miki151
Newbie
Posts: 30
Mouse wheel unusable on Mac
«
on:
January 26, 2015, 09:15:06 pm »
Mouse scrolling is very sensitive on Mac, merely touching the wheel or touchpad causes an event to be generated with non-zero delta.
I realize this is because OSX has a different scrolling mechanism. Is there any way around this?
Logged
Hapax
Hero Member
Posts: 3379
My number of posts is shown in hexadecimal.
Re: Mouse wheel unusable on Mac
«
Reply #1 on:
January 26, 2015, 11:18:48 pm »
If it's too sensitive, you could try reducing the value before using it.
To emulate lower sensitivity, you could keep a static accumulation value that stores delta each time and then you only act on the delta upon it reaching a certain value.
Logged
Selba Ward
-SFML drawables
Cheese Map
-Drawable Layered Tile Map
Kairos
-Timing Library
Grambol
*
Hapaxia Links
*
Print
Pages: [
1
]
SFML community forums
»
Help
»
Window
»
Mouse wheel unusable on Mac
anything