Calibration file format

The format of this file is as follows:

XLxYL:XHxYH:XRL XRH YRL YRH SWAP

where:

XL
X screen coordinate of upper left side (typically 0).
YL
Y screen coordinate of upper left side (typically 0).
XH
X screen coordinate of lower right side (typically X screen resolution − 1).
YH
Y screen coordinate of lower right side (typically Y screen resolution − 1).
XRL
Raw touchscreen X coordinate at upper left side.
XRH
Raw touchscreen X coordinate at lower right side.
YRL
Raw touchscreen Y coordinate at upper left side.
YRH
Raw touchscreen Y coordinate at lower right size.
SWAP
Whether to swap X or Y axes (0 is no, 1 is yes.) It's safe to leave this as 0.