The macOS Tablet Mapping sample code is available for download on GitHub. See Also Wacom Developer Welcome Page on GitHub.