We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
'use strict'; const ioHook = require('iohook'); ioHook.on('keydown', event => { console.log(event); // { type: 'mousemove', x: 700, y: 400 } }); // Register and start hook ioHook.start(); // Alternatively, pass true to start in DEBUG mode. ioHook.start(true);
'use strict'; const ioHook = require('iohook'); ioHook.on('mousemove', event => { console.log(event); // { type: 'mousemove', x: 700, y: 400 } }); // Register and start hook ioHook.start(); // Alternatively, pass true to start in DEBUG mode. ioHook.start(true);
The text was updated successfully, but these errors were encountered:
使用ioHooK模块来监听onkeydown和onmousemove这两个事件
Sorry, something went wrong.
No branches or pull requests
监听全局键盘
监听全局鼠标
The text was updated successfully, but these errors were encountered: