Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A _MOUSEMOVEMENTX question
#6
(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 Big Grin

(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.
desktop width of 1920 / 360 degrees = 5.3 rotations
I'd be curious to see what your code is doing, `_MouseMovementX` should never stop returning values if the mouse is being moved.

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
Reply


Messages In This Thread
A _MOUSEMOVEMENTX question - by NakedApe - 02-13-2024, 07:35 PM
RE: A _MOUSEMOVEMENTX question - by DSMan195276 - 02-13-2024, 07:42 PM
RE: A _MOUSEMOVEMENTX question - by bplus - 02-13-2024, 07:44 PM
RE: A _MOUSEMOVEMENTX question - by NakedApe - 02-13-2024, 08:01 PM
RE: A _MOUSEMOVEMENTX question - by DSMan195276 - 02-13-2024, 08:06 PM
RE: A _MOUSEMOVEMENTX question - by NakedApe - 02-13-2024, 08:11 PM
RE: A _MOUSEMOVEMENTX question - by DSMan195276 - 02-13-2024, 08:12 PM
RE: A _MOUSEMOVEMENTX question - by bplus - 02-13-2024, 08:14 PM
RE: A _MOUSEMOVEMENTX question - by bplus - 02-13-2024, 08:19 PM
RE: A _MOUSEMOVEMENTX question - by NakedApe - 02-13-2024, 08:26 PM
RE: A _MOUSEMOVEMENTX question - by bplus - 02-13-2024, 08:30 PM
RE: A _MOUSEMOVEMENTX question - by NakedApe - 02-13-2024, 08:46 PM
RE: A _MOUSEMOVEMENTX question - by bplus - 02-13-2024, 10:14 PM
RE: A _MOUSEMOVEMENTX question - by NakedApe - 02-13-2024, 11:29 PM
RE: A _MOUSEMOVEMENTX question - by SMcNeill - 02-13-2024, 10:44 PM
RE: A _MOUSEMOVEMENTX question - by NakedApe - 02-13-2024, 11:36 PM
RE: A _MOUSEMOVEMENTX question - by a740g - 02-14-2024, 01:20 PM
RE: A _MOUSEMOVEMENTX question - by SMcNeill - 02-13-2024, 11:43 PM
RE: A _MOUSEMOVEMENTX question - by mdijkens - 02-14-2024, 03:48 PM
RE: A _MOUSEMOVEMENTX question - by Jack - 02-14-2024, 01:09 PM
RE: A _MOUSEMOVEMENTX question - by a740g - 02-14-2024, 01:10 PM
RE: A _MOUSEMOVEMENTX question - by a740g - 02-24-2024, 05:40 PM
RE: A _MOUSEMOVEMENTX question - by NakedApe - 02-24-2024, 08:04 PM
RE: A _MOUSEMOVEMENTX question - by a740g - 02-25-2024, 01:50 PM
RE: A _MOUSEMOVEMENTX question - by SMcNeill - 02-25-2024, 03:44 PM
RE: A _MOUSEMOVEMENTX question - by NakedApe - 02-25-2024, 04:41 PM
RE: A _MOUSEMOVEMENTX question - by SMcNeill - 02-25-2024, 05:40 PM
RE: A _MOUSEMOVEMENTX question - by bplus - 02-25-2024, 08:58 PM



Users browsing this thread: 2 Guest(s)