You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
179 B
C
13 lines
179 B
C
10 years ago
|
#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;
|
||
|
}
|
||
|
}
|