File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -217,15 +217,16 @@ void scrollMouse(int scrollMagnitude, MMMouseWheelDirection scrollDirection)
217217 XFlush (display );
218218
219219 #elif defined(IS_WINDOWS )
220- INPUT mouseScrollInput ;
220+ //FIXME: Need to figure out why this code doesn't work on Windows XP.
221+ /*INPUT mouseScrollInput;
221222 mouseScrollInput.type = INPUT_MOUSE;
222223 mouseScrollInput.mi.dx = 0;
223224 mouseScrollInput.mi.dy = 0;
224225 mouseScrollInput.mi.dwFlags = MOUSEEVENTF_WHEEL;
225226 mouseScrollInput.mi.time = 0;
226227 mouseScrollInput.mi.dwExtraInfo = 0;
227228 mouseScrollInput.mi.mouseData = WHEEL_DELTA * scrollDirection * cleanScrollMagnitude;
228- SendInput (1 , & mouseScrollInput , sizeof (mouseScrollInput ));
229+ SendInput(1, &mouseScrollInput, sizeof(mouseScrollInput));*/
229230 #endif
230231}
231232
You can’t perform that action at this time.
0 commit comments