Pretty sure that is all either depreciated, or only works on jailbroken devices. I tried the very first line, IOHIDEventSystemCreate, and it returned a null pointer.