SFML community forums

Help => General => Topic started by: andrewkoro105 on September 04, 2022, 01:32:56 pm

Title: How to get the real displacement of the mouse wheel
Post by: andrewkoro105 on September 04, 2022, 01:32:56 pm
How to get the real displacement of the mouse wheel (which means fractional delta value).
Title: Re: How to get the real displacement of the mouse wheel
Post by: eXpl0it3r on September 08, 2022, 04:53:13 pm
Make sure you're using the MouseWheelScrolled event and not just the MouseWheelMoved event.
https://www.sfml-dev.org/documentation/2.5.1/structsf_1_1Event_1_1MouseWheelScrollEvent.php

Other than that, I don't really know what you're looking for.