[iOS] Key code is 0 for many hardware keyboard keys
[WebKit-https.git] / Source / WebKit / Platform / spi / ios / UIKitSPI.h
index 5d663b5..44698d2 100644 (file)
@@ -998,6 +998,13 @@ typedef NSInteger UICompositingMode;
 
 #endif // USE(APPLE_INTERNAL_SDK)
 
+@interface UIPhysicalKeyboardEvent : UIPressesEvent
+@end
+
+@interface UIPhysicalKeyboardEvent ()
+@property (nonatomic, readonly) CFIndex _keyCode;
+@end
+
 @interface UIColor (IPI)
 + (UIColor *)insertionPointColor;
 @end