If you have a touch screen in use you can set it up here.
With the option
you can reset the calibration if you are not satisfied with the current settings.If you would like to invert the X- or Y-axis or swap them you have to choose
, and / or .