You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote the following code. Then, during the test, I found that when one finger was placed at the bottom of the touchpad and remained stationary, and another finger moved on the touchpad, the resulting touchpad information could only obtain the information of one finger
touchpadWatcher=hs.eventtap.new({hs.eventtap.event.types.gesture}, function(event)
localtouches=event:getTouches()
localtouchCount=#touchesprint("finger number: " ..touchCount)
fori, touchinipairs(touches) doprint(string.format("finger %d: x = %f, y = %f", i, touch.normalizedPosition.x, touch.normalizedPosition.y))
endend)
touchpadWatcher:start()
The text was updated successfully, but these errors were encountered:
I wrote the following code. Then, during the test, I found that when one finger was placed at the bottom of the touchpad and remained stationary, and another finger moved on the touchpad, the resulting touchpad information could only obtain the information of one finger
The text was updated successfully, but these errors were encountered: