If you set the TouchPanel.DisplayHeight and TouchPanel.DisplayWidth to the BackBufferWidth and BackBufferHeight during startup then it will scale the touch inputs correctly.
Hi, thanks for the reply.
I set the TouchPanel.DisplayWidth and TouchPanel.DisplayHeight to the BackBufferWidth and BackBufferHeight in the Initialize method. but it din’t work.
I then tried this :
foreach (TouchLocation touch in touchs)
{
var scaledLocation = new Vector2(touch.Position.X / scalingFactor.X, touch.Position.Y / scalingFactor.Y);
}