Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Only Disable Taps, and Not Clicks From the Trackpad #4

Open
beeaniebee opened this issue Apr 20, 2021 · 3 comments
Open

Comments

@beeaniebee
Copy link

Is it possible to add a check to the code that will not disable a click from the touchpad?

@thesyntaxinator
Copy link
Owner

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.

@beeaniebee
Copy link
Author

beeaniebee commented Apr 21, 2021

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!

@thesyntaxinator
Copy link
Owner

thesyntaxinator commented Apr 22, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants