Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
128 stars 2 forks source link

Mouse Position Reports off by One On One Axis #2528

Open lxw404 opened 1 month ago

lxw404 commented 1 month ago

Describe the bug?

The Mouse Position protoflux node currently goes from 0 to (WIDTH-1) on the X axis, and 1 to HEIGHT on the Y axis. This would seem to indicate an off by one on either axis.

To Reproduce

Expected behavior

Either the X axis is off by 1 or the Y axis is off by 1, but both should start from the same value.

Screenshots

Resonite_9weaA0QGH0 Resonite_BuPZjK7TE2

Resonite Version Number

Beta 2024.7.10.1399

What Platforms does this occur on?

Windows

What headset if any do you use?

Desktop

Log Files

Mouse Position - 2024.7.10.1399 - 2024-07-10 22_49_12.log

Additional Context

No response

Reporters

LuxKitty

Chundelac commented 1 month ago

Can confirm this (on windows at last) Width starts at 0 and goes up to resolution-1 Height starts at 1 and goes up to the resolution