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

MacOS input capture backend unavailable #257

Open
asitstands opened this issue Jan 30, 2025 · 3 comments
Open

MacOS input capture backend unavailable #257

asitstands opened this issue Jan 30, 2025 · 3 comments

Comments

@asitstands
Copy link

asitstands commented Jan 30, 2025

Hi, I downloaded lan-mouse-macos-aarch64 v0.10.0 binary from here. Executing the binary shows a warning. I tried this at M1 macbook running Sonoma 14.2.1. How can I fix this?

WARN input_capture] MacOS input capture backend unavailable: error creating macos capture backend: event tap creation failed

Images in the frontend are also broken.

@feschber
Copy link
Owner

You need to grant accessibility permissions under System Settings > Privacy & Security > Accessibility. The application you want to give permissions will depend on how you executed the binary.

The icons are broken because adwaita-icon-theme is missing. I will need to find a way to properly package for Macos and Windows.

@asitstands
Copy link
Author

Thanks. It works after setting the accessibility permission.

@mrled
Copy link
Contributor

mrled commented Feb 17, 2025

You need to grant accessibility permissions under System Settings > Privacy & Security > Accessibility. The application you want to give permissions will depend on how you executed the binary.

I had trouble with this until I realized what you meant by the second sentence -- launching the program from Terminal means I need to give Terminal the accessibility permission.

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

3 participants