In iPhone applications you can catch touch events through the UIEvent and its associated set of UITouch instances, but this happens at Objective-C level. What I am looking for is a way to get this information at a lower level, in C code (no Objective-C involved), and in particular I'm thinking of Core Foundation data structures, similarly to the way CFStringRef (and other opaque data structures) are bridged into NSString ones.
Is there a "CFTouchRef" structure available? Does anyone know if this is possible through other functions or structures? Thanks for any hints.