These packages are available as a package collection, usable in Xcode or SwiftPM.
Turns a USB touchscreen into an absolute pointing device on macOS: point, drag, two-finger scroll and an on-screen keyboard — without touching your real mouse and keyboard.
1 package.