CGRect GSEventGetLocationInWindow(GSEventRef ev) unsigned int GSEventGetType(GSEventRef ev); 1 = one finger down 2 = all fingers up 5 = one finger up 6 = gesture one finger pattern 1: down and up finger 1 down -> type = 1 finger 1 up -> type = 2 one finger pattern 2: down and drag and up finger 1 down -> type = 1 finger 1 drag -> type = 6 repeat finger 1 up -> type = 2 two finger pattern 1: down a