dimag0g
Very Active Member
There is a parameter called maxdelay in /etc/ts.conf which defines the maximum response time in milliseconds. If the touchscreen fails to provide a new sample within that time, TSLIB will force a pen_up event. I discovered that a value of 50 ms worked the best on my system, making the touchscreen extra-responsive during clicks. However, I had to change this value to 300 (0.3 seconds) to make sure it worked for everyone. Notably, Gandi had troubles using his touchscreen which seems to stall for 0.1-0.2 seconds from time to time, then resume operation normally. So with maxdelay=50, TSLIB was forcing pen_up events all the time on his system, making it impossible to drag&drop or select regions with the touchscreen.It seemed to make my touchscreen a little more responsive, but it wasn't really problematic in the first place...
You (and many others I suppose) may want to try to set maxdelay back to 50, or maybe try a few values in range 30-100 to find out the best one. Lowering maxdelay will further increase responsiveness during short clicks and double clicks, but at some point it will hit dragging and selecting performance.
Maybe I will modify the calibration utility to detect suitable maxdelay value automatically, by asking the user to drag the stylus between two points.
Last edited by a moderator: