This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import with_statement | |
# {{{ MultitouchSupport | |
import time | |
import ctypes | |
import threading | |
from ctypes.util import find_library | |
CFArrayRef = ctypes.c_void_p | |
CFMutableArrayRef = ctypes.c_void_p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import ctypes | |
import threading | |
from ctypes.util import find_library | |
CFArrayRef = ctypes.c_void_p | |
CFMutableArrayRef = ctypes.c_void_p | |
CFIndex = ctypes.c_long | |
MultitouchSupport = ctypes.CDLL("/System/Library/PrivateFrameworks/MultitouchSupport.framework/MultitouchSupport") |
NewerOlder