Show the resolution of each axis.
Change-Id: I81c4b7e6480b98e59fb389060ab2c8d34257ae5f
This commit is contained in:
parent
75ae424629
commit
9de370e165
1 changed files with 3 additions and 1 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue