iohook icon indicating copy to clipboard operation
iohook copied to clipboard

Doesnt work on node v15.14.0 macos 11.1

Open ish- opened this issue 2 years ago • 1 comments


ioHook.on('keydown', (event) => {
  console.log(event);
});

ioHook.start(true);
node index.js
hook_run [1121]: Accessibility API is enabled.
hook_run [1172]: CGEventTapCreate Successful.
hook_run [1178]: CFMachPortCreateRunLoopSource successful.
hook_run [1183]: CFRunLoopGetCurrent successful.
hook_run [1196]: CFRunLoopObserverCreate successful.
dispatch_event [108]: Dispatching event type 1.
hook_enable [257]: Thread Result: (0).
process_modifier_changed [475]: Modifiers Changed for key 0X37. (0X100108)
process_key_pressed [367]: Key 0XE5B pressed. (0X37)
dispatch_event [108]: Dispatching event type 4.
process_key_pressed [379]: Using dispatch_sync_f for key typed events.
{
  shiftKey: false,
  altKey: false,
  ctrlKey: false,
  metaKey: true,
  keycode: 3675,
  rawcode: 55,
  type: 'keydown'
}

and then silence

  • IOHook Version: 0.9.3
  • Environment name and version (node.js v15.14.0):
  • Operating System and version (desktop or mobile): macos 11.1

ish- avatar Aug 23 '21 22:08 ish-

Hi I have been struggling with this issue for the past few hours and I followed this solution in order to fix my issue: 1kc/razer-macos#289

yummyweb avatar Sep 26 '21 18:09 yummyweb