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

macbook M2 #44

Open
andre2dash opened this issue May 17, 2023 · 1 comment
Open

macbook M2 #44

andre2dash opened this issue May 17, 2023 · 1 comment

Comments

@andre2dash
Copy link

andre2dash commented May 17, 2023

there is absolutely no recording of any kind on an M2 with accessibility allowed for Iiput monitoring, full disk access
running:
openjdk 20.0.1 2023-04-18
OpenJDK Runtime Environment Temurin-20.0.1+9 (build 20.0.1+9)
OpenJDK 64-Bit Server VM Temurin-20.0.1+9 (build 20.0.1+9, mixed mode)

@hptruong93
Copy link
Contributor

I suspect that the natively compiled machine code for the keyboard/mouse listener no longer works. However, that's quite unlikely because the code is using ApplicationServices/ApplicationServices.h which is already OSX abstraction.

I don't have an M2, so I can't try this out.
First, please test if the compiled listener still works. You can find the listener at
<repeat_folder>/resources/nativehooks/osx/RepeatHook.out
Try running that (e.g. ./resources/nativehooks/osx/RepeatHook.out) and see whether that still works. When you run the program, it should print out stuff on every key stroke/mouse movements/mouse click.

If that doesn't work, the listener source code is here
https://github.com/repeats/SimpleNativeHooks/blob/master/src/org/simplenativehooks/osx/nativecontent/RepeatHook.c
Can you try to compile and run that? The command to compile is that the top of the file.

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