Screen coordinates and mouseIn

Hi,

I am having issues with the screen coordinates that the monitor dat reports on MacOS. I have a built-in retina display (dpi scale 2) and an external monitor (2560x1440 120hz dpi scale 1).

Monitor layout:

When I am on the left most side the left border is reported as 362, but the mouse coordinate is showing 181, same happens on the y-axis.

I can use left/2+width and bottom/2+height for now, but I would have expected the mouseIn chop to be aware of the dpi scale. This might be kind of expected for the absolute values but not for normalized.

For the monitor dat it is also confusing to see the left coordinate reported as 362 (dpi scale 2) but the right coordinate as 362 (dpi scale 2) + width (dpi scale 1).

Am I doing something wrong or is that a bug?

Best

Marten

Monitor-Mouse-Coord.toe (6.6 KB)