wheel number, but indicates which virtual keys are pressed during the
scroll wheel motion
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1542
7f0cb862-5218-0410-a997-
914c9d46530a
case WM_MOUSEWHEEL:
{
SFG_Window *child_window = NULL;
- int wheel_number = LOWORD( wParam );
- short ticks = ( short )HIWORD( wParam );
+ int wheel_number = 0; /* Only one scroll wheel on windows */
+ /* int GET_KEYSTATE_WPARAM( wParam ); */
+ short ticks = GET_WHEEL_DELTA_WPARAM( wParam );
window = fghWindowUnderCursor(window);
fgState.Modifiers = INVALID_MODIFIERS;
}
+ /* Per docs, should return zero */
+ lRet = 0;
}
break ;