Does this mean you have two wheels or maybe a multi-directional ball/wheel?
No, many mouses (that i know) support pressing your mouse wheel to the side to scroll sideways
In addition, are you certain that the only time this function is called is when the event type is correct?
The codebase is a very small private project, with 6 C# files (and technically one c++ function) with maybe 600 lines combined at max. Assuming you mean Project.ZoomView(), yes that is only called from that event, since it is a binding for the EventHandler Class (Which contains the event handling functions). This is what it looks like (_view and _window are my view and window, and _zoom is a float that keeps track of the zooming i have done to make resetting the zoom possible)
public static void ZoomView(float delta)
{
_zoom += delta;
_view.Zoom(_zoom);
_window.SetView(_view);
}
Note that, per wheel, it can only go in one direction: positive or negative.
It also doesn't look like you're checking which wheel is being scrolled.
1. I have only one mouse wheel, so I don't need to check which wheel is being scrolled (for now).
2. I am aware that my delta is a one-dimensional value, and you can probably tell from the info i have given until now, that this should work perfectly fine.