Post

Replies

Boosts

Views

Activity

Reply to How to send x,y data from HIDStylusDriver to StylusApp to Pen/Draw
I am going to use Comunicate between Client and App(https://developer.apple.com/documentation/driverkit/communicating_between_a_driverkit_extension_and_a_client_app) to send width of touch (Pen/Pencil). But I have one issue that is this plist not satisfy for user client connect (use IOServicePen): <key>IOKitPersonalities</key> <dict> <key>HIDStylusDriver</key> <dict> <key>UserClientProperties</key> <dict> <key>IOUserClass</key> <string>NullDriverUserClient</string> <key>IOClass</key> <string>IOUserUserClient</string> </dict> <key>CFBundleIdentifier</key> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> <key>IOClass</key> <string>AppleUserHIDEventService</string> <key>IOProviderClass</key> <string>IOHIDInterface</string> <key>IOResourceMatch</key> <string>IOKit</string> <key>IOUserClass</key> <string>HIDStylusDriver</string> <key>IOUserServerName</key> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> <key>ProductID</key> <integer>AAAA</integer> <key>VendorID</key> <integer>BBBB</integer> </dict> </dict> Question: How can I edit this plist to satisfy with IOServiceOpen, and also can use AppleUserHIDEventService? NOTE: I am not request entitlement yet, I will request later for development also of distribution.
Jul ’24