Skip to content

Freezes after one key, mouse Input #23

@ghost

Description

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);
}
});

uIOhook.start();
`

The application lib is still running but after getting one key and outputting "hello" it stops working without an error message.

Mac OS ARM 12.5.1 strangely two months ago it worked without any problems but tested now back to version 1.3 and it still doesn't work. Not sure how to debug this since no output or sigterm but will try to look if I find something and close the ticket if it is only a problem occurring on my device

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions