3 # Patch managed by http://www.holgerschurig.de/patcher.html
6 --- tslib/tests/ts_calibrate.c~event1
7 +++ tslib/tests/ts_calibrate.c
9 if( (tsdevice = getenv("TSLIB_TSDEVICE")) != NULL ) {
10 ts = ts_open(tsdevice,0);
13 - ts = ts_open("/dev/input/event0", 0);
15 - ts = ts_open("/dev/touchscreen/ucb1x00", 0);
16 -#endif /* USE_INPUT_API */
17 + ts = ts_open("/dev/input/event1", 0);
21 --- tslib/tests/ts_print.c~event1
22 +++ tslib/tests/ts_print.c
24 if( (tsdevice = getenv("TSLIB_TSDEVICE")) != NULL ) {
25 ts = ts_open(tsdevice,0);
28 - ts = ts_open("/dev/input/event0", 0);
30 - ts = ts_open("/dev/touchscreen/ucb1x00", 0);
31 -#endif /* USE_INPUT_API */
32 + ts = ts_open("/dev/input/event1", 0);
36 --- tslib/tests/ts_test.c~event1
37 +++ tslib/tests/ts_test.c
41 if ((tsdevice = getenv("TSLIB_TSDEVICE")) == NULL) {
43 - tsdevice = strdup ("/dev/input/event0");
45 - tsdevice = strdup ("/dev/touchscreen/ucb1x00");
46 -#endif /* USE_INPUT_API */
47 + tsdevice = strdup ("/dev/input/event1");
50 ts = ts_open (tsdevice, 0);
51 --- tslib/tests/ts_print_raw.c~event1
52 +++ tslib/tests/ts_print_raw.c
54 if( (tsdevice = getenv("TSLIB_TSDEVICE")) != NULL ) {
55 ts = ts_open(tsdevice,0);
58 - ts = ts_open("/dev/input/event0", 0);
60 - ts = ts_open("/dev/touchscreen/ucb1x00", 0);
61 -#endif /* USE_INPUT_API */
62 + ts = ts_open("/dev/input/event1", 0);
66 --- tslib/tests/ts_harvest.c~event1
67 +++ tslib/tests/ts_harvest.c
71 if ((tsdevice = getenv("TSLIB_TSDEVICE")) == NULL) {
73 - tsdevice = strdup ("/dev/input/event0");
75 - tsdevice = strdup ("/dev/touchscreen/ucb1x00");
76 -#endif /* USE_INPUT_API */
77 + tsdevice = strdup ("/dev/input/event1");
80 ts = ts_open (tsdevice, 0);