So I'm sitting here with a phone with a 800px
wide screen.. and Gdx.graphics.getWidth()
also returns 800 as it should..
But when I get coordinates from Gdx.input.getX()
the highest number I get when touching the screen all the way to the left is around 780.. and around 20 in the right side..
So all my coordinates are wrong, so all my buttons and stuff are not working as they should etc.
Any idea what is going on?