iohook

Node.js 全局键盘和鼠标侦听器。「Node.js global keyboard and mouse listener.」

Github星跟蹤圖

iohook

关于

Node.js 全局本机键盘和鼠标侦听器。

该模块可以通过 JavaScript/TypeScript 应用程序内部和外部的本机钩子来处理键盘和鼠标事件。

发现了错误? 有想法吗 随时发布问题或提交 PR

查看文档

平台支持

  • >=0.6.0 的版本仅支持正式支持的平台版本。
  • 版本 0.5.X 是最后一个支持 Electron<4.0.0 的版本
  • 版本 0.4.X 是最后一个支持 Node<8.0 和 Electron<2.0.0 的版本

安装

iohook 为许多操作系统和平台提供了预构建的版本。

npm install iohook --save # or yarn add iohook

常问问题

问:此模块是否需要 Java?

答:不,该模块不需要 Java(如 jnativehook)或任何其他运行时。

问:iohook 是否与 Node/Electron 版本 X.Y.Z 兼容?

答:我们尝试匹配当前支持的 Node 和 Electron 版本。

应用

您在项目中使用 iohook 吗? 请在 PR 中告诉我们,以便我们将其添加到列表中!

贡献者

感谢kwhat的 libuiohook 项目和 ayoubserti 的第一个 iohook 原型。

  • vespakoen (预构建系统实施)
  • matthewshirley (Windows 预构建修复程序)
  • djiit (项目和社区帮助)
  • ezain (添加功能启用/禁用鼠标单击传播)
  • anoadragon453 (electron 4+ 支持)
  • 所有其他贡献者。 随意扩展此列表!

(The first version translated by vz on 2020.07.19)

主要指標

概覽
名稱與所有者wilix-team/iohook
主編程語言C
編程語言CMake (語言數: 9)
平台Linux, Mac, Windows
許可證MIT License
所有者活动
創建於2016-12-10 18:28:53
推送於2025-02-21 04:04:41
最后一次提交2025-02-20 23:04:41
發布數46
最新版本名稱v0.9.3 (發布於 )
第一版名稱v0.1.3 (發布於 )
用户参与
星數1.2k
關注者數21
派生數303
提交數487
已啟用問題?
問題數327
打開的問題數95
拉請求數73
打開的拉請求數12
關閉的拉請求數38
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

iohook

Build status
Build Status
Gitter chat
NPM version

About

Node.js global native keyboard and mouse listener.

This module can handle keyboard and mouse events via native hooks inside and outside your JavaScript/TypeScript application.

Found a bug? Have an idea? Feel free to post an issue or submit a PR.

Check out the documentation.

Platform support

  • Versions >= 0.6.0 support only officially supported platforms versions.
  • Versions 0.5.X are the last to support Electron < 4.0.0
  • Versions 0.4.X are the last to support for Node < 8.0 and Electron < 2.0.0

Installation

iohook provides prebuilt version for a bunch of OSes and platforms.

npm install iohook --save # or yarn add iohook

FAQ

Q. Does this module require Java ?

A. No, this module doesn't require Java (like jnativehook) or any other runtimes.

Q. Is iohook compatible with Node/Electron version X.Y.Z ?

A. We try to match the currently supported version of both Node and Electron.

Apps

Are you using iohook in your project ? Please tell us in a PR so we an add it to the list !

Contributors

Thanks to kwhat for the libuiohook project and ayoubserti for the first iohook prototype.

  • vespakoen (prebuild system implementation)
  • matthewshirley (Windows prebuild fix)
  • djiit (project & community help)
  • ezain (add feature enable/disable mouse click propagation)
  • anoadragon453 (electron 4+ support)
  • All the other contributors. Feel free to extend this list !