You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keyup/keydown events are triggered only once
mousemove and mouse click works fine until no key is pressed
Keyup is not working even at first click
keydown chokes everything, event mouse events when first key is pressed.
Possible Solution
No Idea, but it requires a fix to c library, looks like.
Steps to Reproduce (for bugs)
On macOS Big Sur 11.1 version, register keydown/keyup event in node js app using iohook
run the app and see that it only triggers event on first keyup/keydown, not on subsequent hits
Context
I am creating a activity monitor app and would like to see the productivity of the user.
Your Environment
DEV
The text was updated successfully, but these errors were encountered:
jangidsh4
changed the title
On macOS big sur 11.1 version, it records keydown/keyup/keypress only once. It should records it everytime, a key is hit on the keyboard.
On macOS big sur 11.1 version, it records keydown/keyup only once. It should records it everytime, a key is hit on the keyboard.
Feb 10, 2021
jangidsh4
changed the title
On macOS big sur 11.1 version, it records keydown/keyup only once. It should records it everytime, a key is hit on the keyboard.
On macOS big sur 11.1 version, it records keydown only once, keyup not even once. It should record these events on every keyup/keydown.
Feb 10, 2021
never mind, I got it working. Well documented steps by #124 (comment), followed the same but it was not working since I just copied "iohook.node" from iohook node_modules after new build by commenting suggested line. You also need to copy "uiohook.dylib" from the same folder into your ./node_modules/iohook/builds/node-v83-darwin-x64/build/release" folder. And it works. Cheers...
node v14.15.3
macOS Big Sur 11.2.1 (updated to the new patch this morning)
Expected Behavior
Keydown/keyupevent should be triggered every time
Current Behavior
Keyup/keydown events are triggered only once
mousemove and mouse click works fine until no key is pressed
Keyup is not working even at first click
keydown chokes everything, event mouse events when first key is pressed.
Possible Solution
No Idea, but it requires a fix to c library, looks like.
Steps to Reproduce (for bugs)
Context
I am creating a activity monitor app and would like to see the productivity of the user.
Your Environment
DEV
The text was updated successfully, but these errors were encountered: