src/video/x11/SDL_x11touch.c
changeset 6348 049721824c2e
parent 6316 a89c79a3f0cd
child 6432 de49d33b829e
equal deleted inserted replaced
6346:56871d364efc 6348:049721824c2e
    44         return;
    44         return;
    45     }
    45     }
    46 #ifdef SDL_INPUT_LINUXEV
    46 #ifdef SDL_INPUT_LINUXEV
    47     FILE *fd;
    47     FILE *fd;
    48     fd = fopen("/proc/bus/input/devices","r");
    48     fd = fopen("/proc/bus/input/devices","r");
       
    49     if (!fd) return;
    49 
    50 
    50     int i = 0;
    51     int i = 0;
    51     int tsfd;
    52     int tsfd;
    52     char line[256];
    53     char line[256];
    53     char tstr[256];
    54     char tstr[256];