Added calibrate screen (WIP). fixed bug in emulator drawing.

This commit is contained in:
t-moe
2015-06-01 21:33:40 +02:00
parent b02990da2c
commit 06227dadad
5 changed files with 176 additions and 2 deletions

View File

@@ -110,6 +110,15 @@ void touch_unregister_area(TOUCH_AREA_STRUCT* area);
*/
POINT_STRUCT touch_get_last_point();
/**
* Set's the new calibration values
* @param xs x offset (to calibration point 1)
* @param dx x difference (between calibration point 1 and 2)
* @param ys y offset (to calibration point 1)
* @param dy y difference (between calibration point 1 and 2)
*/
void touch_set_calibration_valules(int xs, int dx, int ys, int dy);
/*@}*/