To get the current number of touches that will be reported:
displaxservice -a 127.0.0.1 --tmax
To limit the number of touches to be reported to 10:
displaxservice -a 127.0.0.1 --tmax 10