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

[Question] May I ask why you went with HID API and not CGEventTap API? #20

Open
rampatra opened this issue Apr 18, 2022 · 1 comment
Open

Comments

@rampatra
Copy link

In the latter, you wouldn't need USB permission when running in sandbox mode.

@SkrewEverything
Copy link
Owner

SkrewEverything commented Dec 5, 2022

@rampatra As I mentioned in the Readme

Another problem is with Apple high-level APIs. I don't know the reason, but Apple suddenly deprecates and removes the documentation of APIs from its website.

So, I don't want to keep checking about the availability of their APIs and changing my code frequently. That is the reason I went for low-level API, which is using HID API.

I wanted something which doesn't deprecate suddenly and needs to be fixed asap. So, I went with HID API

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