uiohook-napi
uiohook-napi copied to clipboard
Hi! Thanks for working on this. One thing I'm missing from the original iohook implementation is the keypress event which contains a "keychar" property that allows to transform a keycode...
Thanks for maintaining this project! I am using this project with electron. I found a problem: when started listening (`uIOhook.start();`), right-clicking on the title bar, the click on the menu...
uses this file for reference: https://github.com/kwhat/libuiohook/blob/1.2/include/uiohook.h ### note: unfortunately i have no reasonable means of testing most of these additions. i can at least confirm the printscreen addition works, which...
## Motivation ### Crashes While testing awakened-poe-trade on Mac, I noticed that quitting Awakened POE Trade would cause a crash instead of exiting gracefully. To reproduce: 1. Checkout the pull...
Hi, thanks for a great lib. I have one problem - when I send a right alt key, the lib seems to ignore the distinction between left and right alt...
## Motivation/Fix awakened-poe-trade on Mac would hang after running a while. I debugged it and submitted a PR to libuiohook, which has more details: https://github.com/kwhat/libuiohook/pull/184 This PR just includes that...
Hello, I noticed that the new feature of the libuiohook library is what I need. In the new feature, mouse monitoring can output relative positions, making it easier for the...
a.mjs ```js import { uIOhook, UiohookKey } from 'uiohook-napi' console.log('1') uIOhook.on('keydown', (e) => { if (e.keycode === UiohookKey.Q) { console.log('Hello!') } if (e.keycode === UiohookKey.Escape) { process.exit(0) } }) uIOhook.on('mousedown',...
Hey, good work on this, but I'm a bit confused on something, the keytoggle function set to toggle down only seems to hold some keys pressed. When tested with "Shift"...
In the simplest form of `const { uIOhook, UiohookKey } = require("uiohook-napi"); uIOhook.on("keydown", (e) => { if (e.keycode === UiohookKey.Q) { console.log("Hello!"); } if (e.keycode === UiohookKey.Escape) { process.exit(0); }...