Tablet Mapping is an application that logs mouse and tablet events and also demonstrates various mapping tricks which may be performed by sending Apple Events to the Wacom tablet driver.
The application uses the functions described in the Driver Request Interface - Reference documentation to communicate with the tablet driver. Data from the tablet arrives by NSDistributedNotifications. The keys to access the data in the returned Notification Dictionary are found in TabletAEDictionary.h.
You can download the ScribbleDemo sample code and view the inline comments to find out detailed information about the sample code itself.
All Wacom tablets supported by the Wacom driver are supported by this API. Get the tablet driver that supports your device at: https://www.wacom.com/support/product-support/drivers.
The Driver Interface Request developer documentation has complete API details:
Driver Request Interface - Basics
Driver Request Interface - Reference
Driver Request Interface - FAQs
If you have questions about this demo please visit our support page: https://developer.wacom.com/developer-dashboard/support.
This sample code is licensed under the MIT License: https://choosealicense.com/licenses/mit/