X-Git-Url: https://iankelling.org/git/?p=evhz;a=blobdiff_plain;f=evhz.c;h=947ab819be91523433dc38226795fb81f31a24f8;hp=217e8b0710f4c5fe86a991fd82733a94e468d3bc;hb=d48d0d6dc66a638b0086ee3c6c898a1ba35284f8;hpb=3ab980d2ab2645bbbe3e22399171bb73794da708 diff --git a/evhz.c b/evhz.c index 217e8b0..947ab81 100644 --- a/evhz.c +++ b/evhz.c @@ -94,7 +94,7 @@ int main(int argc, char *argv[]) { continue; } - if(event.type == EV_REL) { + if(event.type == EV_REL || event.type == EV_ABS) { double time; int hz;