diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-08-16 17:18:54 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2011-08-16 17:19:30 -0700 |
commit | 9de370e165350010bc9086347cbd142aecef771e (patch) | |
tree | 0950de021c2cd70ffaf9c687c4929b96107ce10c | |
parent | 75ae4246295db86089a0d672873bb5121b051b79 (diff) | |
download | system_core-9de370e165350010bc9086347cbd142aecef771e.zip system_core-9de370e165350010bc9086347cbd142aecef771e.tar.gz system_core-9de370e165350010bc9086347cbd142aecef771e.tar.bz2 |
Show the resolution of each axis.
Change-Id: I81c4b7e6480b98e59fb389060ab2c8d34257ae5f
-rw-r--r-- | toolbox/getevent.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/toolbox/getevent.c b/toolbox/getevent.c index e3ab41a..352f6f9 100644 --- a/toolbox/getevent.c +++ b/toolbox/getevent.c @@ -175,7 +175,9 @@ static int print_possible_events(int fd, int print_flags) if(i == EV_ABS) { struct input_absinfo abs; if(ioctl(fd, EVIOCGABS(j * 8 + k), &abs) == 0) { - printf(" : value %d, min %d, max %d, fuzz %d flat %d", abs.value, abs.minimum, abs.maximum, abs.fuzz, abs.flat); + printf(" : value %d, min %d, max %d, fuzz %d, flat %d, resolution %d", + abs.value, abs.minimum, abs.maximum, abs.fuzz, abs.flat, + abs.resolution); } } count++; |