02-13-2024, 08:11 PM
(02-13-2024, 08:06 PM)DSMan195276 Wrote:(02-13-2024, 07:44 PM)bplus Wrote: ? Mousemovement has always been broken as far as I remember.I just tested it on Windows, it works correctly. Whether you actually want that behavior depends a lot on what you're doing though
(02-13-2024, 08:01 PM)NakedApe Wrote: Actually, I figured it out. I unintentionally limited the results from the mousemovementX reads. Fixed it. I went from getting only 2 full rotations to about 5 now before hitting the skids. That oughta do it.I'd be curious to see what your code is doing, `_MouseMovementX` should never stop returning values if the mouse is being moved.
desktop width of 1920 / 360 degrees = 5.3 rotations
I run this and get from -50 to 1870 and not a penny more.
SCREEN _NEWIMAGE(1280, 720, 32)
DO
CLS
_LIMIT 30
DO WHILE _MOUSEINPUT
x = x + _MOUSEMOVEMENTX
LOOP
PRINT x;
_DISPLAY
LOOP UNTIL INKEY$ <> ""
SYSTEM