diff --git a/hw/kdrive/linux/tslib.c b/hw/kdrive/linux/tslib.c index db29976c9..e22ebd93f 100644 --- a/hw/kdrive/linux/tslib.c +++ b/hw/kdrive/linux/tslib.c @@ -85,9 +85,7 @@ TsRead (int tsPort, void *closure) return; } - n = ts_read(tsDev, &event, 1); - - if (n == 1) + while (ts_read(tsDev, &event, 1) == 1) { if (event.pressure) {