Ignore list: ignore touch in some part on screen

Ignore list: ignore touch in some part on screen

class pymt.input.postproc.ignorelist.InputPostprocIgnoreList

Bases: object

InputPostprocIgnoreList is a post-processor who remove touch in ignore list. Ignore list can be configured in the PyMT config file

[pymt]
# Format: [(xmin, ymin, xmax, ymax), ...]
ignore = [(0.1, 0.1, 0.15, 0.15)]

Ignore list coordinate are in 0-1, not in the screen width/height.

Previous topic

Double Tap: search touch for a double tap

Next topic

Retain Touch: reuse touch to counter finger lost behavior

This Page