Also show the polling rate for graphics tables
authorAldrik Dunbar <aldrik@gmail.com>
Sun, 1 Feb 2015 04:36:06 +0000 (05:36 +0100)
committerAldrik Dunbar <aldrik@gmail.com>
Sun, 1 Feb 2015 04:37:54 +0000 (05:37 +0100)
evhz.c

diff --git a/evhz.c b/evhz.c
index 217e8b0710f4c5fe86a991fd82733a94e468d3bc..947ab819be91523433dc38226795fb81f31a24f8 100644 (file)
--- 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;