Alex.Konnen's picture

How to use Mouse Wheel with OpenTK.GLControl

Hello,
I am quite new at this forum and rather new with OpenTK, as well.
I am trying to get the mouse wheel to work while using OpenTK.GLControl.

Examples I have so far found, tell to query the
MouseState m = Mouse.GetState(int i);
function. I failed to find, first, what the correct argument of the function should be, if I try with i=0, I get a NotImplementedException.
What is the correct way to use this function or to react on wheel events at all? A short example or snippet would be perfect. TIA.

OS: Windows 7, 32 Bit.