Searched refs:kbdfd (Results 1 – 1 of 1) sorted by relevance
48 static int kbdfd = -1; variable128 if((kbdfd = open(KBD_DEVICE, O_RDWR)) == -1) in init_kbd()137 if(kbdfd != -1) in cleanup_kbd()139 close(kbdfd); in cleanup_kbd()226 if(write(kbdfd, &ev, sizeof(ev)) < 0) in injectKeyEvent()