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

Author Topic: Mouse wheel unusable on Mac  (Read 1111 times)

0 Members and 1 Guest are viewing this topic.


  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
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?


  • Hero Member
  • *****
  • Posts: 3058
  • My number of posts is shown in hexadecimal.
    • View Profile
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.
Selba Ward - SFML drawables
Kairos - Timing Library
Rectangular Boundary Collision - Rectangular SAT Collision

@Hapaxiation - Hapaxia on Twitter