1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-25 18:56:18 +00:00
Lakka-LibreELEC/packages/addons/addon-depends/tslib/patches/tslib-06-linear-print-coordinates.patch
Peter Vicman 9c3e78edee touchscreen: initial addon
includes ts_uinput_touch daemon which translates tslib events to uinput
includes belonging touchscreen calibration addon
2016-11-02 12:54:15 +01:00

18 lines
572 B
Diff

diff -aurN a/plugins/linear.c b/plugins/linear.c
--- a/plugins/linear.c 2013-08-08 02:23:04.000000000 +0200
+++ b/plugins/linear.c 2015-09-04 20:21:50.376205701 +0200
@@ -187,11 +187,11 @@
for (index = 0; index < 7; index++)
if (fscanf(pcal_fd, "%d", &lin->a[index]) != 1) break;
fscanf(pcal_fd, "%d %d", &lin->cal_res_x, &lin->cal_res_y);
-#ifdef DEBUG
+/*#ifdef DEBUG*/
printf("Linear calibration constants: ");
for(index=0;index<7;index++) printf("%d ",lin->a[index]);
printf("\n");
-#endif /*DEBUG*/
+/*#endif*/ /*DEBUG*/
fclose(pcal_fd);
}