Searched refs:touchfd (Results 1 – 1 of 1) sorted by relevance
/external/libvncserver/examples/android/jni/ |
D | fbvncserver.c | 49 static int touchfd = -1; variable 146 if((touchfd = open(TOUCH_DEVICE, O_RDWR)) == -1) in init_touch() 152 if(ioctl(touchfd, EVIOCGABS(ABS_X), &info)) { in init_touch() 158 if(ioctl(touchfd, EVIOCGABS(ABS_Y), &info)) { in init_touch() 169 if(touchfd != -1) in cleanup_touch() 171 close(touchfd); in cleanup_touch() 326 if(write(touchfd, &ev, sizeof(ev)) < 0) in injectTouchEvent() 336 if(write(touchfd, &ev, sizeof(ev)) < 0) in injectTouchEvent() 346 if(write(touchfd, &ev, sizeof(ev)) < 0) in injectTouchEvent() 356 if(write(touchfd, &ev, sizeof(ev)) < 0) in injectTouchEvent()
|