Skip to content

Instantly share code, notes, and snippets.

Created June 8, 2016 17:15
Show Gist options
  • Select an option

  • Save anonymous/635467c8a339e6bd58f56c49ea31d8a0 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/635467c8a339e6bd58f56c49ea31d8a0 to your computer and use it in GitHub Desktop.
TapticEngine.py
from objc_util import *
# from ctypes import *
device = ObjCClass("UIDevice").currentDevice()
tapticengine = device._tapticEngine()
tapticengine.actuateFeedback_(1001) #argtype: int
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment