break the loop for EV_KEY

This commit is contained in:
Vincent Wei
2020-11-10 18:03:50 +08:00
parent cdc818d936
commit bde7d74f02
+2
View File
@@ -93,6 +93,8 @@ static int get_touch_data (short *x, short *y, short *button)
_WRN_PRINTF ("unknow event code for EV_KEY event: %x, %x\n", data.code, data.value);
return -1;
}
return 0;
}
else if (data.type == EV_ABS) {
switch (data.code) {