by michaelwu · 9y ago · 0 comments
For three finger swipes I'm using a trick to synthesize them without private API, but for other swipe types I'd need to synthesize them using the private API... However there haven't been too many requests for other event types thus it's not very high up on my TODO list.
(I'm the author of BTT)
Also BTT allows you to bind them to many many predefined actions in addition to keyboard shortcuts, e.g. "Trigger Menubar Menu Item" which can be very powerful.
I'm basically using CGEventCreateData to save an original system three finger swipe, then I'm just generating an event based on that saved data and refresh the timestamp and mouse location before sending it.