Commit eba31ca6 authored by Taddeus Kroes's avatar Taddeus Kroes

Uncommented tap events in test draw program.

parent 22aa3086
...@@ -128,9 +128,9 @@ def pinch(event): ...@@ -128,9 +128,9 @@ def pinch(event):
listener = MultiTouchListener(verbose=1, tuio_verbose=0) listener = MultiTouchListener(verbose=1, tuio_verbose=0)
listener.bind('rotate', rotate) listener.bind('rotate', rotate)
listener.bind('pinch', pinch) listener.bind('pinch', pinch)
#listener.bind('tap', lambda e: taps.append([coord(*e.xy), FINGER_RADIUS])) listener.bind('tap', lambda e: taps.append([coord(*e.xy), FINGER_RADIUS]))
#listener.bind('single_tap', lambda e: dtaps.append(list(coord(*e.xy)) + [1])) listener.bind('single_tap', lambda e: dtaps.append(list(coord(*e.xy)) + [1]))
#listener.bind('double_tap', lambda e: dtaps.append(list(coord(*e.xy)) + [0])) listener.bind('double_tap', lambda e: dtaps.append(list(coord(*e.xy)) + [0]))
listener.start(threaded=True) listener.start(threaded=True)
# Start GUI event loop # Start GUI event loop
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment