mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-26 20:45:36 +08:00
break the loop for EV_KEY
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user