Comment 198 for bug 1372609

Revision history for this message
Chris (meyer-cm) wrote :

Mathias: After reproducing the error while running my logging/parser, I've been able to identify that the pointer freeze issue is happening in the code you linked. Lines 188-192 are an if condition invalidating the input whenever the final byte is set to 255. In my logging, I'm seeing that that byte is typically 16, 32, 64, and as the comments in the code indicate, seems to be related to how much of my finger I allow to contact the touchpad. However, that byte occasionally (and spuriously) gets set to 255; once set, it stays set at 255 until the touch is removed and re-applied.

My current thinking is that removing the if condition would be sufficient to prevent this issue, but I worry about side-effects when the final byte is set to 255 for valid reasons. Any ideas on the best way to proceed?