Whitespace cleanups (were mangled in next patches)

Signed-off-by: Tias Guns <tias@ulyssis.org>
Software engineering to avoid #include "XXX.cpp": + file headers + correct includes

Signed-off-by: Tias Guns <tias@ulyssis.org>
Completing file reorganization with correct headers

Signed-off-by: Tias Guns <tias@ulyssis.org>
Merge branch 'tonio73_headers'
Touch points, change to constant NUM_POINTS in enum

From Antoine Hue's patch called
'Completing file reorganization with correct headers'

Signed-off-by: Tias Guns <tias@ulyssis.org>
color management: make enum static

From Antoine Hue's patch called
'Completing file reorganization with correct headers'

Signed-off-by: Tias Guns <tias@ulyssis.org>
Various comment cleanups from tonio (leftovers file reorg. patch)

Original patch by Antoine Hue called
'Completing file reorganization with correct headers'

Signed-off-by: Tias Guns <tias@ulyssis.org>
Fixing .gitignore
Some refactoring of the Calibrator object

Make find_device a static function of Calibrator, and move some
functions around

This patch was originally part of Antoine Hue's commit with message
'''Managing correctly X/Y swap and X or Y inversion: - detect swap and
inversion modification - take into account for inversion in calibration
computation since Evdev is doing inversion after calibration. - Mainly
tested for Evdev based driver. To be tested for USB.'''

Signed-off-by: Tias Guns <tias@ulyssis.org>
refactor to static Calibrator::verbose

This patch was originally part of Antoine Hue's commit with message
'''Managing correctly X/Y swap and X or Y inversion: - detect swap and
inversion modification - take into account for inversion in calibration
computation since Evdev is doing inversion after calibration. - Mainly
tested for Evdev based driver. To be tested for USB.'''

Signed-off-by: Tias Guns <tias@ulyssis.org>

Conflicts:

	src/calibrator.cpp
	src/calibrator/Evdev.cpp
Evdev::set_calibration and set_swapxy cleanups

logging/printing is now inside the functions, and the string copying is
avoided

This patch was originally part of Antoine Hue's commit with message
'''Managing correctly X/Y swap and X or Y inversion: - detect swap and
inversion modification - take into account for inversion in calibration
computation since Evdev is doing inversion after calibration. - Mainly
tested for Evdev based driver. To be tested for USB.'''

Signed-off-by: Tias Guns <tias@ulyssis.org>
Various remaining cleanups from Antoine

This patch was originally part of Antoine Hue's commit with message
'''Managing correctly X/Y swap and X or Y inversion: - detect swap and
inversion modification - take into account for inversion in calibration
computation since Evdev is doing inversion after calibration. - Mainly
tested for Evdev based driver. To be tested for USB.'''

Signed-off-by: Tias Guns <tias@ulyssis.org>
Merge branch 'tonio73_refactoring'
Refactor structs XYinfo, AxisInfo and clicked

AxisInfo contains info on a single axis, including inversion. XYinfo
contains an AxisInfo for X and Y, as well as swap_xy.
Clicked are no longer 2 arrays but a struct with vectors and the count.

This patch was originally part of Antoine Hue's commit with message
'''Managing correctly X/Y swap and X or Y inversion: - detect swap and
inversion modification - take into account for inversion in calibration
computation since Evdev is doing inversion after calibration. - Mainly
tested for Evdev based driver. To be tested for USB.'''

Signed-off-by: Tias Guns <tias@ulyssis.org>
XYinfo/AxisInfo: copy constructors and invert/swap function
new_axys now contains the axys value to write

previously, new_axys.swap_xy meant that the old swap_xy value needed to
be swapped.
Now, new_axys is initialised to old_axys,
such that setting new_axys.do_swap_xy() swaps the axys and hence
new_axys contains the axys values to write.
Similar for invert_x, invert_y

Changes to Usbtouchscreen were not needed as it resets swap/inversion
values to 'false' before doing calibration.
inversion support for evdev and xorgprint

This patch was originally part of Antoine Hue's commit with message
'''Managing correctly X/Y swap and X or Y inversion: - detect swap and
inversion modification - take into account for inversion in calibration
computation since Evdev is doing inversion after calibration. - Mainly
tested for Evdev based driver. To be tested for USB.'''

Signed-off-by: Tias Guns <tias@ulyssis.org>
Merge branch 'tonio73_xyinfo'
convert leftover tabs to spaces
XYinfo: add print method