Open beeaniebee opened 3 years ago
Thanks for the suggestion. Will take a look when I get a chance, or feel free to submit a PR if you're able to implement it sooner.
I may be able to write something for this, but I'm not very good with C and I don't really work on this kind of stuff. Might be a fun challenge! I did a dive into how to possibly recognize trackpad events that can differentiate taps and clicks, and it looks like you're using a library for mouse-type input devices, not touchpad-type. It may be cleaner and a good first step to try to transition from using CGEvent / Quartz Event Services to using NSEvent which handles trackpad events and distinguishes between taps and clicks. It might also make the code or process more straightforward to use NSEvent over CGEvent.
Again, I'm not very experienced in this kind of development so I may have gotten some (or all) of that very wrong. Just trying to help out with ideas. Anyway, let me know if this helps, or where I may have gone wrong, as I'd love to learn. Thanks!
Thanks! That’s helpful. Feel free to tackle this as a challenge if you’d like, and I’d be happy to merge in a PR if you’re able to get it working.
Is it possible to add a check to the code that will not disable a click from the touchpad?