Searched refs:ev_fdinfo (Results 1 – 1 of 1) sorted by relevance
47 static fd_info ev_fdinfo[MAX_DEVICES + MAX_MISC_FDS]; variable92 ev.data.ptr = &ev_fdinfo[ev_count]; in ev_init()99 ev_fdinfo[ev_count].fd = fd; in ev_init()100 ev_fdinfo[ev_count].cb = std::move(input_cb); in ev_init()129 ev.data.ptr = static_cast<void*>(&ev_fdinfo[ev_count]); in ev_add_fd()132 ev_fdinfo[ev_count].fd = fd; in ev_add_fd()133 ev_fdinfo[ev_count].cb = std::move(cb); in ev_add_fd()143 close(ev_fdinfo[--ev_count].fd); in ev_exit()187 if (ioctl(ev_fdinfo[i].fd, EVIOCGBIT(0, sizeof(ev_bits)), ev_bits) == -1) { in ev_sync_key_state()193 if (ioctl(ev_fdinfo[i].fd, EVIOCGKEY(sizeof(key_bits)), key_bits) == -1) { in ev_sync_key_state()[all …]