Lines Matching refs:iev
35 static int verify_data(struct input_event *iev, int nb);
102 struct input_event iev[64]; in check_events() local
107 rd = read(fd2, iev, sizeof(iev)); in check_events()
118 if (verify_data(&iev[i], nb++)) in check_events()
126 static int verify_data(struct input_event *iev, int nb) in verify_data() argument
129 if (iev->type != EV_REL) { in verify_data()
132 nb, iev->type, EV_REL); in verify_data()
136 if (iev->code != REL_X) in verify_data()
139 if (iev->value != 10) in verify_data()
146 if (iev->type != EV_REL) { in verify_data()
149 nb, iev->type, EV_REL); in verify_data()
153 if (iev->code != REL_Y) in verify_data()
156 if (iev->value != 1) in verify_data()
163 if (iev->type != EV_SYN) { in verify_data()
166 nb, iev->type, EV_SYN); in verify_data()
170 if (iev->code != 0) in verify_data()
173 if (iev->value != 0) in verify_data()