I'm trying to create an Electron app that enables the user to draw on the trackpad. Since using only your finger on the trackpad is a a lot more intuitive and precise than requiring the user to actually press down on the trackpad, I'd like to include this functionality. Is there an API available that I can use to get the absolute finger position on Apple's trackpad in Electron?
This is a good example of something I'm aiming to implement: http://osxdaily.com/2014/12/04/sign-documents-trackpad-preview-mac-os-x/