12 lines
179 B
C
12 lines
179 B
C
#include <tslib.h>
|
|
#include <stdio.h>
|
|
|
|
int main()
|
|
{
|
|
struct tsdev *ts;
|
|
ts = ts_open("/dev/input/event2", 0)
|
|
if (!ts) {
|
|
fprintf(stderr, "cannot open event2");
|
|
return 1;
|
|
}
|
|
}
|