Now that UIKit and our internal touch code can detect Apple Pencil, provide the data from the device to the Touch event.
<rdar://problem/28218898>
Created attachment 288379 [details] Patch
Attachment 288379 [details] did not pass style-queue: ERROR: Source/WebKit2/Shared/WebEventConversion.cpp:261: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 1 in 17 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 288379 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=288379&action=review > Source/WebKit2/Shared/WebEventConversion.cpp:261 > + , webTouchPoint.force(), webTouchPoint.altitudeAngle(), webTouchPoint.azimuthAngle(), webPlatformTouchTypeToPlatform(webTouchPoint.touchType()) Is this whitespace necessary? > Tools/WebKitTestRunner/ios/HIDEventGenerator.mm:438 > + _activePoints[0].pathPressure = pressure * 500; // The IOHID documentation says this should be [0,1], but in practice it is [0,500] :( FIXME?! Same goes for the below I suppose.
Committed r205766: <http://trac.webkit.org/changeset/205766>