File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -217,15 +217,16 @@ void scrollMouse(int scrollMagnitude, MMMouseWheelDirection scrollDirection)
217
217
XFlush (display );
218
218
219
219
#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;
221
222
mouseScrollInput.type = INPUT_MOUSE;
222
223
mouseScrollInput.mi.dx = 0;
223
224
mouseScrollInput.mi.dy = 0;
224
225
mouseScrollInput.mi.dwFlags = MOUSEEVENTF_WHEEL;
225
226
mouseScrollInput.mi.time = 0;
226
227
mouseScrollInput.mi.dwExtraInfo = 0;
227
228
mouseScrollInput.mi.mouseData = WHEEL_DELTA * scrollDirection * cleanScrollMagnitude;
228
- SendInput (1 , & mouseScrollInput , sizeof (mouseScrollInput ));
229
+ SendInput(1, &mouseScrollInput, sizeof(mouseScrollInput));*/
229
230
#endif
230
231
}
231
232
You can’t perform that action at this time.
0 commit comments