wilix-team / iohook

Node.js global keyboard and mouse listener.
https://wilix-team.github.io/iohook
MIT License
1.2k stars 291 forks source link

iohook doesn't ask for input monitoring permission in Mac OS Catalina. #232

Closed shafayet2368 closed 3 years ago

shafayet2368 commented 4 years ago

In Mac OS Catalina the have introduced a new permission for keyboard and mouse events tracking that is "Input monitoring". While initializing an app with "iohook" it asks for the Accessibility permission but doesn't ask for the "Input Monitoring" permission. Can anyone help me to fix this issue?

Expected Behavior

While initializing an app it should ask for "Input monitoring" permission.

Current Behavior

It does not ask for the "Input Monitoring" permission from mac.

Your Environment

pgupt commented 4 years ago

I am also using iohook over Mac Catalina. and our app behaviour is the same. It does not asks for input monitoring. I suppose its normal. What kind of issue are you facing?

inomdzhon commented 4 years ago

@pgupt iohook should ask access for the "Input Monitoring" permission, but shouldn't for the "Accessibility" permission. Because the "Input Monitoring" transfer inputs events.

ash0x0 commented 3 years ago

Can't repro. I don't see what the issue is because it does capture correctly. Closing.