Retain Touch: reuse touch to counter finger lost behavior

Retain Touch: reuse touch to counter finger lost behavior

class pymt.input.postproc.retaintouch.InputPostprocRetainTouch

Bases: object

InputPostprocRetainTouch is a post-processor to delay the ‘up’ event of a touch, to reuse it under certains conditions. This module is designed to prevent finger lost on some hardware/setup.

Retain touch can be configured in the PyMT config file

[pymt]
    retain_time = 100
    retain_distance = 50

Distance parameter is in 0-1000, and time is in millisecond.

Previous topic

Ignore list: ignore touch in some part on screen

Next topic

Providers: list of all input providers

This Page