PyMT 是一个 Python多点触摸用户界面库。
示例代码:
from pymt import * class CircleDrawer(MTWidget): '''Draw a circle at the position of all touches.''' def draw(self): set_color(1, 0, 0) for touch in getCurrentTouches(): drawCircle(touch.pos, 50) runTouchApp(CircleDrawer()