Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Touch input returning different values on Windows 10 Mobile

$
0
0

@fatcatz wrote:

Hi

I'm using Monogame 3.5.1.1679 in a UWP project. On the desktop everything works fine.

On the Windows 10 Mobile TouchPanel.GetState() returns Y that is a wrong value, as I touch further down the screen the offset from the actual point Y becomes larger. For example if I tap at point Y 600, the value reported TouchPanel.GetState() is 650.

I'm using a SwapChainPanel to display the graphics in a grid, it is on grid row 2. If I do not set row (use the full screen) everything works.

Since X is correct I assume it is something to do with the SwapChainPanel not located at y = 0? But on the desktop it works properly.

Anyone know what the problem is?

Thanks

Gavin

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles