Closed e-su closed 1 year ago
Do you mean gesture events or mouse click events? You can filter out system mouse click events by tapping into CG event tap. But for gestures I have no idea how to filter / disable it
Yeah, I want to filter out system mouse click events. I saw hookMouseCallback() and loggerCallback(). I modified some of the code, and it worked as expected! Tapping the left or right side of the trackpad to generate the z or x key without system mouse click events. Thanks, you the boss.
I implemented tapping the left or right side of the trackpad to generate the specified event. But the gestures of the system are still there. I have no idea how to disable system mouse click event.