I was just improving the existing way it's included in all clients I've worked with, I forgot there is already existing code for the buttons. Thanks for sharing.
I don't have mouseWheelRotation, I assume it's just set to the rotation on mouseWheelMoved event, but where are you setting it back to 0 at? Thanks. I'll change post tomorrow to use this snippet and credit unless you want to post yourself.





