Closed shaunlebron closed 1 year ago
I think web api should be studied for this too
setAcceptsTouchEvents:YES
seems to be deprecated for allowedTouchTypes. I had to find a usage example on GitHub.
The acceptsTouchEvents
property also seemed necessary. Does Apple have newer docs on this?
I confirmed that the touch events are being caught now (see 49a4483cda4619b45133482f95cee91e2620de32). I will look at logging the touch event data to the window.
I added EventTrackpadTouch*
events and the dashboard event panel is logging them successfully. I will look at drawing the touch points in a new trackpad panel.
That would be cool!
I put a trackpad panel next to the mouse panel:
https://user-images.githubusercontent.com/116838/205144208-9e586e33-e8fd-4195-953f-82c71b99f766.mp4
Problems so far:
Looking at adding access to macOS trackpad touch events. Some references to start: